<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.py.editor</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.py-module.html">Package&nbsp;py</a> ::
        Module&nbsp;editor
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.py.editor-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="Priithon.py.editor-module.html">Module Priithon.py.editor</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-docstring">"""PyAlaCarte and PyAlaMode editors."""</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-name">__author__</tt> <tt class="py-op">=</tt> <tt class="py-string">"Patrick K. O'Brien &lt;pobrien@orbtech.com&gt;"</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable Priithon.py.PyAlaCarte.__cvsid__=Priithon.py.PyAlaCarte-module.html#__cvsid__,Variable Priithon.py.PyAlaMode.__cvsid__=Priithon.py.PyAlaMode-module.html#__cvsid__,Variable Priithon.py.PyAlaModeTest.__cvsid__=Priithon.py.PyAlaModeTest-module.html#__cvsid__,Variable Priithon.py.PyCrust.__cvsid__=Priithon.py.PyCrust-module.html#__cvsid__,Variable Priithon.py.PyFilling.__cvsid__=Priithon.py.PyFilling-module.html#__cvsid__,Variable Priithon.py.PyShell.__cvsid__=Priithon.py.PyShell-module.html#__cvsid__,Variable Priithon.py.PyWrap.__cvsid__=Priithon.py.PyWrap-module.html#__cvsid__,Variable Priithon.py.__cvsid__=Priithon.py-module.html#__cvsid__,Variable Priithon.py.buffer.__cvsid__=Priithon.py.buffer-module.html#__cvsid__,Variable Priithon.py.crust.__cvsid__=Priithon.py.crust-module.html#__cvsid__,Variable Priithon.py.dispatcher.__cvsid__=Priithon.py.dispatcher-module.html#__cvsid__,Variable Priithon.py.document.__cvsid__=Priithon.py.document-module.html#__cvsid__,Variable Priithon.py.editor.__cvsid__=Priithon.py.editor-module.html#__cvsid__,Variable Priithon.py.editwindow.__cvsid__=Priithon.py.editwindow-module.html#__cvsid__,Variable Priithon.py.filling.__cvsid__=Priithon.py.filling-module.html#__cvsid__,Variable Priithon.py.frame.__cvsid__=Priithon.py.frame-module.html#__cvsid__,Variable Priithon.py.images.__cvsid__=Priithon.py.images-module.html#__cvsid__,Variable Priithon.py.interpreter.__cvsid__=Priithon.py.interpreter-module.html#__cvsid__,Variable Priithon.py.introspect.__cvsid__=Priithon.py.introspect-module.html#__cvsid__,Variable Priithon.py.pseudo.__cvsid__=Priithon.py.pseudo-module.html#__cvsid__,Variable Priithon.py.shell.__cvsid__=Priithon.py.shell-module.html#__cvsid__,Variable Priithon.py.version.__cvsid__=Priithon.py.version-module.html#__cvsid__"><a title="Priithon.py.PyAlaCarte.__cvsid__
Priithon.py.PyAlaMode.__cvsid__
Priithon.py.PyAlaModeTest.__cvsid__
Priithon.py.PyCrust.__cvsid__
Priithon.py.PyFilling.__cvsid__
Priithon.py.PyShell.__cvsid__
Priithon.py.PyWrap.__cvsid__
Priithon.py.__cvsid__
Priithon.py.buffer.__cvsid__
Priithon.py.crust.__cvsid__
Priithon.py.dispatcher.__cvsid__
Priithon.py.document.__cvsid__
Priithon.py.editor.__cvsid__
Priithon.py.editwindow.__cvsid__
Priithon.py.filling.__cvsid__
Priithon.py.frame.__cvsid__
Priithon.py.images.__cvsid__
Priithon.py.interpreter.__cvsid__
Priithon.py.introspect.__cvsid__
Priithon.py.pseudo.__cvsid__
Priithon.py.shell.__cvsid__
Priithon.py.version.__cvsid__" class="py-name" href="#" onclick="return doclink('link-0', '__cvsid__', 'link-0');">__cvsid__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Id: editor.py,v 1.7 2004/06/14 20:17:31 RD Exp $"</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt id="link-1" class="py-name" targets="Variable Priithon.py.PyAlaCarte.__revision__=Priithon.py.PyAlaCarte-module.html#__revision__,Variable Priithon.py.PyAlaMode.__revision__=Priithon.py.PyAlaMode-module.html#__revision__,Variable Priithon.py.PyAlaModeTest.__revision__=Priithon.py.PyAlaModeTest-module.html#__revision__,Variable Priithon.py.PyCrust.__revision__=Priithon.py.PyCrust-module.html#__revision__,Variable Priithon.py.PyFilling.__revision__=Priithon.py.PyFilling-module.html#__revision__,Variable Priithon.py.PyShell.__revision__=Priithon.py.PyShell-module.html#__revision__,Variable Priithon.py.PyWrap.__revision__=Priithon.py.PyWrap-module.html#__revision__,Variable Priithon.py.__revision__=Priithon.py-module.html#__revision__,Variable Priithon.py.buffer.__revision__=Priithon.py.buffer-module.html#__revision__,Variable Priithon.py.crust.__revision__=Priithon.py.crust-module.html#__revision__,Variable Priithon.py.dispatcher.__revision__=Priithon.py.dispatcher-module.html#__revision__,Variable Priithon.py.document.__revision__=Priithon.py.document-module.html#__revision__,Variable Priithon.py.editor.__revision__=Priithon.py.editor-module.html#__revision__,Variable Priithon.py.editwindow.__revision__=Priithon.py.editwindow-module.html#__revision__,Variable Priithon.py.filling.__revision__=Priithon.py.filling-module.html#__revision__,Variable Priithon.py.frame.__revision__=Priithon.py.frame-module.html#__revision__,Variable Priithon.py.images.__revision__=Priithon.py.images-module.html#__revision__,Variable Priithon.py.interpreter.__revision__=Priithon.py.interpreter-module.html#__revision__,Variable Priithon.py.introspect.__revision__=Priithon.py.introspect-module.html#__revision__,Variable Priithon.py.pseudo.__revision__=Priithon.py.pseudo-module.html#__revision__,Variable Priithon.py.shell.__revision__=Priithon.py.shell-module.html#__revision__,Variable Priithon.py.version.__revision__=Priithon.py.version-module.html#__revision__"><a title="Priithon.py.PyAlaCarte.__revision__
Priithon.py.PyAlaMode.__revision__
Priithon.py.PyAlaModeTest.__revision__
Priithon.py.PyCrust.__revision__
Priithon.py.PyFilling.__revision__
Priithon.py.PyShell.__revision__
Priithon.py.PyWrap.__revision__
Priithon.py.__revision__
Priithon.py.buffer.__revision__
Priithon.py.crust.__revision__
Priithon.py.dispatcher.__revision__
Priithon.py.document.__revision__
Priithon.py.editor.__revision__
Priithon.py.editwindow.__revision__
Priithon.py.filling.__revision__
Priithon.py.frame.__revision__
Priithon.py.images.__revision__
Priithon.py.interpreter.__revision__
Priithon.py.introspect.__revision__
Priithon.py.pseudo.__revision__
Priithon.py.shell.__revision__
Priithon.py.version.__revision__" class="py-name" href="#" onclick="return doclink('link-1', '__revision__', 'link-1');">__revision__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Revision: 1.7 $"</tt><tt class="py-op">[</tt><tt class="py-number">11</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt class="py-number">2</tt><tt class="py-op">]</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">wx</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Module Priithon.py.buffer=Priithon.py.buffer-module.html"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-2', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Class Priithon.py.buffer.Buffer=Priithon.py.buffer.Buffer-class.html"><a title="Priithon.py.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-3', 'Buffer', 'link-3');">Buffer</a></tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-4" class="py-name" targets="Module Priithon.py.crust=Priithon.py.crust-module.html,Function Priithon.usefulX.crust()=Priithon.usefulX-module.html#crust"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-4', 'crust', 'link-4');">crust</a></tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Module Priithon.py.dispatcher=Priithon.py.dispatcher-module.html"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-5', 'dispatcher', 'link-5');">dispatcher</a></tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-6" class="py-name" targets="Module Priithon.py.editwindow=Priithon.py.editwindow-module.html"><a title="Priithon.py.editwindow" class="py-name" href="#" onclick="return doclink('link-6', 'editwindow', 'link-6');">editwindow</a></tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-7" class="py-name" targets="Module Priithon.py.frame=Priithon.py.frame-module.html"><a title="Priithon.py.frame" class="py-name" href="#" onclick="return doclink('link-7', 'frame', 'link-7');">frame</a></tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-8" class="py-name" targets="Module Priithon.py.shell=Priithon.py.shell-module.html,Function Priithon.usefulX.shell()=Priithon.usefulX-module.html#shell"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-8', 'shell', 'link-8');">shell</a></tt> <tt class="py-keyword">import</tt> <tt id="link-9" class="py-name" targets="Class Priithon.py.shell.Shell=Priithon.py.shell.Shell-class.html"><a title="Priithon.py.shell.Shell" class="py-name" href="#" onclick="return doclink('link-9', 'Shell', 'link-9');">Shell</a></tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-10" class="py-name" targets="Module Priithon.py.version=Priithon.py.version-module.html"><a title="Priithon.py.version" class="py-name" href="#" onclick="return doclink('link-10', 'version', 'link-10');">version</a></tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame"></a><div id="EditorFrame-def"><a name="L18"></a><tt class="py-lineno"> 18</tt> <a class="py-toggle" href="#" id="EditorFrame-toggle" onclick="return toggle('EditorFrame');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html">EditorFrame</a><tt class="py-op">(</tt><tt class="py-base-class">frame</tt><tt class="py-op">.</tt><tt class="py-base-class">Frame</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditorFrame-expanded"><a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line">    <tt class="py-docstring">"""Frame containing one editor."""</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.__init__"></a><div id="EditorFrame.__init__-def"><a name="L21"></a><tt class="py-lineno"> 21</tt> <a class="py-toggle" href="#" id="EditorFrame.__init__-toggle" onclick="return toggle('EditorFrame.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'PyAlaCarte'</tt><tt class="py-op">,</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line">                 <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-number">800</tt><tt class="py-op">,</tt> <tt class="py-number">600</tt><tt class="py-op">)</tt><tt class="py-op">,</tt>  </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_FRAME_STYLE</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">NO_FULL_REPAINT_ON_RESIZE</tt><tt class="py-op">,</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line">                 <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.__init__-expanded"><a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditorFrame instance."""</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt id="link-11" class="py-name"><a title="Priithon.py.frame" class="py-name" href="#" onclick="return doclink('link-11', 'frame', 'link-7');">frame</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name" targets="Class Priithon.py.frame.Frame=Priithon.py.frame.Frame-class.html"><a title="Priithon.py.frame.Frame" class="py-name" href="#" onclick="return doclink('link-12', 'Frame', 'link-12');">Frame</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name" targets="Method Priithon.DragAndDrop.ClipTextPanel.__init__()=Priithon.DragAndDrop.ClipTextPanel-class.html#__init__,Method Priithon.DragAndDrop.FileDropPanel.__init__()=Priithon.DragAndDrop.FileDropPanel-class.html#__init__,Method Priithon.DragAndDrop.MyFileDropTarget.__init__()=Priithon.DragAndDrop.MyFileDropTarget-class.html#__init__,Method Priithon.Mrc.Mrc.__init__()=Priithon.Mrc.Mrc-class.html#__init__,Method Priithon.Mrc.Mrc2.__init__()=Priithon.Mrc.Mrc2-class.html#__init__,Method Priithon.Scientific_IO_TextFile.TextFile.__init__()=Priithon.Scientific_IO_TextFile.TextFile-class.html#__init__,Method Priithon.buttonbox._buttonBox.__init__()=Priithon.buttonbox._buttonBox-class.html#__init__,Method Priithon.fileDropPopup.FileDropTarget.__init__()=Priithon.fileDropPopup.FileDropTarget-class.html#__init__,Method Priithon.gridviewer.ArrayGrid.__init__()=Priithon.gridviewer.ArrayGrid-class.html#__init__,Method Priithon.gridviewer.HugeTable.__init__()=Priithon.gridviewer.HugeTable-class.html#__init__,Method Priithon.gridviewer.HugeTableGrid.__init__()=Priithon.gridviewer.HugeTableGrid-class.html#__init__,Method Priithon.guiExceptionFrame.MyFrame.__init__()=Priithon.guiExceptionFrame.MyFrame-class.html#__init__,Method Priithon.guiInfoFrame.HtmlInfoFrame.__init__()=Priithon.guiInfoFrame.HtmlInfoFrame-class.html#__init__,Method Priithon.guiInfoFrame.HtmlWindow.__init__()=Priithon.guiInfoFrame.HtmlWindow-class.html#__init__,Method Priithon.guiParams.guiParams.__init__()=Priithon.guiParams.guiParams-class.html#__init__,Method Priithon.histogram.HistogramCanvas.__init__()=Priithon.histogram.HistogramCanvas-class.html#__init__,Method Priithon.histogram.MyCanvasBase.__init__()=Priithon.histogram.MyCanvasBase-class.html#__init__,Method Priithon.mmviewer.GLViewer.__init__()=Priithon.mmviewer.GLViewer-class.html#__init__,Method Priithon.mockNDarray.mockNDarray.__init__()=Priithon.mockNDarray.mockNDarray-class.html#__init__,Method Priithon.ndarray_meta.nd_meta_attribute.__init__()=Priithon.ndarray_meta.nd_meta_attribute-class.html#__init__,Method Priithon.plt.dumb_shelve.DbfilenameShelf.__init__()=Priithon.plt.dumb_shelve.DbfilenameShelf-class.html#__init__,Method Priithon.plt.dumbdbm_patched._Database.__init__()=Priithon.plt.dumbdbm_patched._Database-class.html#__init__,Method Priithon.plt.plot_objects.axis_object.__init__()=Priithon.plt.plot_objects.axis_object-class.html#__init__,Method Priithon.plt.plot_objects.axis_window.__init__()=Priithon.plt.plot_objects.axis_window-class.html#__init__,Method Priithon.plt.plot_objects.border_object.__init__()=Priithon.plt.plot_objects.border_object-class.html#__init__,Method Priithon.plt.plot_objects.graphic_list.__init__()=Priithon.plt.plot_objects.graphic_list-class.html#__init__,Method Priithon.plt.plot_objects.image_object.__init__()=Priithon.plt.plot_objects.image_object-class.html#__init__,Method Priithon.plt.plot_objects.legend_object.__init__()=Priithon.plt.plot_objects.legend_object-class.html#__init__,Method Priithon.plt.plot_objects.line_object.__init__()=Priithon.plt.plot_objects.line_object-class.html#__init__,Method Priithon.plt.plot_objects.poly_line.__init__()=Priithon.plt.plot_objects.poly_line-class.html#__init__,Method Priithon.plt.plot_objects.poly_marker.__init__()=Priithon.plt.plot_objects.poly_marker-class.html#__init__,Method Priithon.plt.plot_objects.poly_points.__init__()=Priithon.plt.plot_objects.poly_points-class.html#__init__,Method Priithon.plt.plot_objects.text_object.__init__()=Priithon.plt.plot_objects.text_object-class.html#__init__,Method Priithon.plt.plot_objects.text_window.__init__()=Priithon.plt.plot_objects.text_window-class.html#__init__,Method Priithon.plt.plot_utility.box_object.__init__()=Priithon.plt.plot_utility.box_object-class.html#__init__,Method Priithon.plt.plot_utility.point_object.__init__()=Priithon.plt.plot_utility.point_object-class.html#__init__,Method Priithon.plt.plot_utility.property_object.__init__()=Priithon.plt.plot_utility.property_object-class.html#__init__,Method Priithon.plt.wxplt.graph_printout.__init__()=Priithon.plt.wxplt.graph_printout-class.html#__init__,Method Priithon.plt.wxplt.plot_canvas.__init__()=Priithon.plt.wxplt.plot_canvas-class.html#__init__,Method Priithon.plt.wxplt.plot_frame.__init__()=Priithon.plt.wxplt.plot_frame-class.html#__init__,Method Priithon.py.PyAlaCarte.App.__init__()=Priithon.py.PyAlaCarte.App-class.html#__init__,Method Priithon.py.PyAlaMode.App.__init__()=Priithon.py.PyAlaMode.App-class.html#__init__,Method Priithon.py.PyAlaModeTest.App.__init__()=Priithon.py.PyAlaModeTest.App-class.html#__init__,Method Priithon.py.buffer.Buffer.__init__()=Priithon.py.buffer.Buffer-class.html#__init__,Method Priithon.py.crust.Calltip.__init__()=Priithon.py.crust.Calltip-class.html#__init__,Method Priithon.py.crust.Crust.__init__()=Priithon.py.crust.Crust-class.html#__init__,Method Priithon.py.crust.CrustFrame.__init__()=Priithon.py.crust.CrustFrame-class.html#__init__,Method Priithon.py.crust.DispatcherListing.__init__()=Priithon.py.crust.DispatcherListing-class.html#__init__,Method Priithon.py.crust.Display.__init__()=Priithon.py.crust.Display-class.html#__init__,Method Priithon.py.crust.SessionListing.__init__()=Priithon.py.crust.SessionListing-class.html#__init__,Method Priithon.py.dispatcher.BoundMethodWeakref.__init__()=Priithon.py.dispatcher.BoundMethodWeakref-class.html#__init__,Method Priithon.py.dispatcher.DispatcherError.__init__()=Priithon.py.dispatcher.DispatcherError-class.html#__init__,Method Priithon.py.document.Document.__init__()=Priithon.py.document.Document-class.html#__init__,Method Priithon.py.editor.DialogResults.__init__()=Priithon.py.editor.DialogResults-class.html#__init__,Method Priithon.py.editor.EditWindow.__init__()=Priithon.py.editor.EditWindow-class.html#__init__,Method Priithon.py.editor.Editor.__init__()=Priithon.py.editor.Editor-class.html#__init__,Method Priithon.py.editor.EditorFrame.__init__()=Priithon.py.editor.EditorFrame-class.html#__init__,Method Priithon.py.editor.EditorNotebook.__init__()=Priithon.py.editor.EditorNotebook-class.html#__init__,Method Priithon.py.editor.EditorNotebookFrame.__init__()=Priithon.py.editor.EditorNotebookFrame-class.html#__init__,Method Priithon.py.editor.EditorShellNotebook.__init__()=Priithon.py.editor.EditorShellNotebook-class.html#__init__,Method Priithon.py.editor.EditorShellNotebookFrame.__init__()=Priithon.py.editor.EditorShellNotebookFrame-class.html#__init__,Method Priithon.py.editwindow.EditWindow.__init__()=Priithon.py.editwindow.EditWindow-class.html#__init__,Method Priithon.py.filling.Filling.__init__()=Priithon.py.filling.Filling-class.html#__init__,Method Priithon.py.filling.FillingFrame.__init__()=Priithon.py.filling.FillingFrame-class.html#__init__,Method Priithon.py.filling.FillingText.__init__()=Priithon.py.filling.FillingText-class.html#__init__,Method Priithon.py.filling.FillingTree.__init__()=Priithon.py.filling.FillingTree-class.html#__init__,Method Priithon.py.frame.Frame.__init__()=Priithon.py.frame.Frame-class.html#__init__,Method Priithon.py.interpreter.Interpreter.__init__()=Priithon.py.interpreter.Interpreter-class.html#__init__,Method Priithon.py.interpreter.InterpreterAlaCarte.__init__()=Priithon.py.interpreter.InterpreterAlaCarte-class.html#__init__,Method Priithon.py.pseudo.PseudoFile.__init__()=Priithon.py.pseudo.PseudoFile-class.html#__init__,Method Priithon.py.pseudo.PseudoFileErr.__init__()=Priithon.py.pseudo.PseudoFileErr-class.html#__init__,Method Priithon.py.pseudo.PseudoFileIn.__init__()=Priithon.py.pseudo.PseudoFileIn-class.html#__init__,Method Priithon.py.pseudo.PseudoFileOut.__init__()=Priithon.py.pseudo.PseudoFileOut-class.html#__init__,Method Priithon.py.pseudo.PseudoKeyword.__init__()=Priithon.py.pseudo.PseudoKeyword-class.html#__init__,Method Priithon.py.shell.Shell.__init__()=Priithon.py.shell.Shell-class.html#__init__,Method Priithon.py.shell.ShellFacade.__init__()=Priithon.py.shell.ShellFacade-class.html#__init__,Method Priithon.py.shell.ShellFrame.__init__()=Priithon.py.shell.ShellFrame-class.html#__init__,Method Priithon.readerSPE.File.__init__()=Priithon.readerSPE.File-class.html#__init__,Method Priithon.scalePanel.scalePanel.__init__()=Priithon.scalePanel.scalePanel-class.html#__init__,Method Priithon.splitND.TestTransientPopup.__init__()=Priithon.splitND.TestTransientPopup-class.html#__init__,Method Priithon.splitND.spv.__init__()=Priithon.splitND.spv-class.html#__init__,Method Priithon.splitND2.spv.__init__()=Priithon.splitND2.spv-class.html#__init__,Method Priithon.splitNDcommon.spvCommon.__init__()=Priithon.splitNDcommon.spvCommon-class.html#__init__,Method Priithon.syncViewersGui.syncViewersGui.__init__()=Priithon.syncViewersGui.syncViewersGui-class.html#__init__,Method Priithon.useful.deco_memoized.__init__()=Priithon.useful.deco_memoized-class.html#__init__,Method Priithon.usefulX._listArrayViewer.__init__()=Priithon.usefulX._listArrayViewer-class.html#__init__,Method Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__()=Priithon.usefulX._listFilesViewer.MyFileDropTarget-class.html#__init__,Method Priithon.usefulX._listFilesViewer.__init__()=Priithon.usefulX._listFilesViewer-class.html#__init__,Method Priithon.viewer.GLViewer.__init__()=Priithon.viewer.GLViewer-class.html#__init__,Method Priithon.viewer2.GLViewer2.__init__()=Priithon.viewer2.GLViewer2-class.html#__init__,Method Priithon.viewerCommon.GLViewerCommon.__init__()=Priithon.viewerCommon.GLViewerCommon-class.html#__init__,Method Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__()=Priithon.viewerRubberbandMode.viewerRubberbandMode-class.html#__init__,Method Priithon.wxAsyncDispatcher.DispatcherConnection.__init__()=Priithon.wxAsyncDispatcher.DispatcherConnection-class.html#__init__,Method Priithon.wxAsyncDispatcher.DispatcherServer.__init__()=Priithon.wxAsyncDispatcher.DispatcherServer-class.html#__init__,Method Priithon.wxAsyncDispatcher.MainWindow.__init__()=Priithon.wxAsyncDispatcher.MainWindow-class.html#__init__,Method Priithon.wxPyPlot.FloatDCWrapper.__init__()=Priithon.wxPyPlot.FloatDCWrapper-class.html#__init__,Method Priithon.wxPyPlot.PlotCanvas.__init__()=Priithon.wxPyPlot.PlotCanvas-class.html#__init__,Method Priithon.wxPyPlot.PlotGraphics.__init__()=Priithon.wxPyPlot.PlotGraphics-class.html#__init__,Method Priithon.wxPyPlot.PolyLine.__init__()=Priithon.wxPyPlot.PolyLine-class.html#__init__,Method Priithon.wxPyPlot.PolyMarker.__init__()=Priithon.wxPyPlot.PolyMarker-class.html#__init__,Method Priithon.wxPyPlot.PolyPoints.__init__()=Priithon.wxPyPlot.PolyPoints-class.html#__init__,Method Priithon.wxPyPlot.plot_printout.__init__()=Priithon.wxPyPlot.plot_printout-class.html#__init__,Method Priithon.zslider.ZSlider.__init__()=Priithon.zslider.ZSlider-class.html#__init__"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-13', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-14" class="py-name" targets="Variable Priithon.py.buffer.Buffer.id=Priithon.py.buffer.Buffer-class.html#id"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-14', 'id', 'link-14');">id</a></tt><tt class="py-op">,</tt> <tt id="link-15" class="py-name" targets="Function Priithon.plt.interface.title()=Priithon.plt.interface-module.html#title,Method Priithon.plt.wxplt.plot_frame.title()=Priithon.plt.wxplt.plot_frame-class.html#title"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-15', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> <tt id="link-16" class="py-name" targets="Method Priithon.plt.plot_objects.text_object.size()=Priithon.plt.plot_objects.text_object-class.html#size,Method Priithon.plt.plot_utility.box_object.size()=Priithon.plt.plot_utility.box_object-class.html#size,Variable Priithon.viewerRubberbandMode.viewerRubberbandMode.size=Priithon.viewerRubberbandMode.viewerRubberbandMode-class.html#size"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-16', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-op">}</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-17', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt>  <tt class="py-comment"># Current buffer.</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name" targets="Module Priithon.py.editor=Priithon.py.editor-module.html,Function Priithon.usefulX.editor()=Priithon.usefulX-module.html#editor"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-18', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_defaultText</tt> <tt class="py-op">=</tt> <tt id="link-19" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-19', 'title', 'link-15');">title</a></tt> <tt class="py-op">+</tt> <tt class="py-string">' - the tastiest Python editor.'</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_statusText</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_defaultText</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_statusText</tt><tt class="py-op">)</tt> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_IDLE</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-20" class="py-name" targets="Method Priithon.py.editor.EditorFrame.OnIdle()=Priithon.py.editor.EditorFrame-class.html#OnIdle,Method Priithon.py.editor.EditorNotebook.OnIdle()=Priithon.py.editor.EditorNotebook-class.html#OnIdle,Method Priithon.py.shell.Shell.OnIdle()=Priithon.py.shell.Shell-class.html#OnIdle,Method Priithon.splitND.spv.OnIdle()=Priithon.splitND.spv-class.html#OnIdle,Method Priithon.splitND2.spv.OnIdle()=Priithon.splitND2.spv-class.html#OnIdle"><a title="Priithon.py.editor.EditorFrame.OnIdle
Priithon.py.editor.EditorNotebook.OnIdle
Priithon.py.shell.Shell.OnIdle
Priithon.splitND.spv.OnIdle
Priithon.splitND2.spv.OnIdle" class="py-name" href="#" onclick="return doclink('link-20', 'OnIdle', 'link-20');">OnIdle</a></tt><tt class="py-op">)</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name" targets="Method Priithon.py.editor.EditorFrame._setup()=Priithon.py.editor.EditorFrame-class.html#_setup,Method Priithon.py.editor.EditorNotebookFrame._setup()=Priithon.py.editor.EditorNotebookFrame-class.html#_setup,Method Priithon.py.editor.EditorShellNotebookFrame._setup()=Priithon.py.editor.EditorShellNotebookFrame-class.html#_setup"><a title="Priithon.py.editor.EditorFrame._setup
Priithon.py.editor.EditorNotebookFrame._setup
Priithon.py.editor.EditorShellNotebookFrame._setup" class="py-name" href="#" onclick="return doclink('link-21', '_setup', 'link-21');">_setup</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">filename</tt><tt class="py-op">:</tt> </tt>
<a name="L36"></a><tt class="py-lineno"> 36</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-22" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferCreate()=Priithon.py.editor.EditorFrame-class.html#bufferCreate,Method Priithon.py.editor.EditorNotebookFrame.bufferCreate()=Priithon.py.editor.EditorNotebookFrame-class.html#bufferCreate,Method Priithon.py.editor.EditorShellNotebookFrame.bufferCreate()=Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferCreate"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-22', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
</div><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame._setup"></a><div id="EditorFrame._setup-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <a class="py-toggle" href="#" id="EditorFrame._setup-toggle" onclick="return toggle('EditorFrame._setup');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#_setup">_setup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame._setup-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame._setup-expanded"><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">        <tt class="py-docstring">"""Setup prior to first buffer creation.</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line"><tt class="py-docstring">        Useful for subclasses."""</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.setEditor"></a><div id="EditorFrame.setEditor-def"><a name="L44"></a><tt class="py-lineno"> 44</tt> <a class="py-toggle" href="#" id="EditorFrame.setEditor-toggle" onclick="return toggle('EditorFrame.setEditor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#setEditor">setEditor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.setEditor-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.setEditor-expanded"><a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-23" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-23', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-24" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-24', 'editor', 'link-18');">editor</a></tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-25" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-25', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-26" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-26', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-27" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-27', 'buffer', 'link-2');">buffer</a></tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-28', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-29" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-29', 'id', 'link-14');">id</a></tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-30', 'buffer', 'link-2');">buffer</a></tt> </tt>
</div><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.OnAbout"></a><div id="EditorFrame.OnAbout-def"><a name="L49"></a><tt class="py-lineno"> 49</tt> <a class="py-toggle" href="#" id="EditorFrame.OnAbout-toggle" onclick="return toggle('EditorFrame.OnAbout');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#OnAbout">OnAbout</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.OnAbout-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.OnAbout-expanded"><a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-docstring">"""Display an About window."""</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt id="link-31" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-31', 'title', 'link-15');">title</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'About PyAlaCarte'</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-string">'Another fine, flaky program.'</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MessageDialog</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">,</tt> <tt id="link-32" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-32', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">                                  <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OK</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ICON_INFORMATION</tt><tt class="py-op">)</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.OnClose"></a><div id="EditorFrame.OnClose-def"><a name="L58"></a><tt class="py-lineno"> 58</tt> <a class="py-toggle" href="#" id="EditorFrame.OnClose-toggle" onclick="return toggle('EditorFrame.OnClose');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#OnClose">OnClose</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.OnClose-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.OnClose-expanded"><a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">        <tt class="py-docstring">"""Event handler for closing."""</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-33" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-33', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt><tt class="py-op">.</tt><tt class="py-name">values</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-34" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-34', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt id="link-35" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-35', 'buffer', 'link-2');">buffer</a></tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-36" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-36', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Method Priithon.py.buffer.Buffer.hasChanged()=Priithon.py.buffer.Buffer-class.html#hasChanged,Method Priithon.py.editor.Editor.hasChanged()=Priithon.py.editor.Editor-class.html#hasChanged"><a title="Priithon.py.buffer.Buffer.hasChanged
Priithon.py.editor.Editor.hasChanged" class="py-name" href="#" onclick="return doclink('link-37', 'hasChanged', 'link-37');">hasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">                <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferSuggestSave()=Priithon.py.editor.EditorFrame-class.html#bufferSuggestSave"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-38', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt> <tt class="py-keyword">and</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">CanVeto</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">                    <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Veto</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">                    <tt class="py-keyword">return</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.OnIdle"></a><div id="EditorFrame.OnIdle-def"><a name="L69"></a><tt class="py-lineno"> 69</tt> <a class="py-toggle" href="#" id="EditorFrame.OnIdle-toggle" onclick="return toggle('EditorFrame.OnIdle');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#OnIdle">OnIdle</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.OnIdle-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.OnIdle-expanded"><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-docstring">"""Event handler for idle time."""</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method Priithon.py.editor.EditorFrame._updateStatus()=Priithon.py.editor.EditorFrame-class.html#_updateStatus"><a title="Priithon.py.editor.EditorFrame._updateStatus" class="py-name" href="#" onclick="return doclink('link-39', '_updateStatus', 'link-39');">_updateStatus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-string">'notebook'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-40" class="py-name" targets="Method Priithon.py.editor.EditorFrame._updateTabText()=Priithon.py.editor.EditorFrame-class.html#_updateTabText,Method Priithon.py.editor.EditorNotebook._updateTabText()=Priithon.py.editor.EditorNotebook-class.html#_updateTabText"><a title="Priithon.py.editor.EditorFrame._updateTabText
Priithon.py.editor.EditorNotebook._updateTabText" class="py-name" href="#" onclick="return doclink('link-40', '_updateTabText', 'link-40');">_updateTabText</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-41" class="py-name" targets="Method Priithon.py.editor.EditorFrame._updateTitle()=Priithon.py.editor.EditorFrame-class.html#_updateTitle,Method Priithon.py.editor.EditorNotebookFrame._updateTitle()=Priithon.py.editor.EditorNotebookFrame-class.html#_updateTitle"><a title="Priithon.py.editor.EditorFrame._updateTitle
Priithon.py.editor.EditorNotebookFrame._updateTitle" class="py-name" href="#" onclick="return doclink('link-41', '_updateTitle', 'link-41');">_updateTitle</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame._updateStatus"></a><div id="EditorFrame._updateStatus-def"><a name="L77"></a><tt class="py-lineno"> 77</tt> <a class="py-toggle" href="#" id="EditorFrame._updateStatus-toggle" onclick="return toggle('EditorFrame._updateStatus');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#_updateStatus">_updateStatus</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame._updateStatus-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame._updateStatus-expanded"><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-docstring">"""Show current status information."""</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-42" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-42', 'editor', 'link-18');">editor</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">hasattr</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-43" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-43', 'editor', 'link-18');">editor</a></tt><tt class="py-op">,</tt> <tt class="py-string">'getStatus'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">            <tt class="py-name">status</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-44', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-45" class="py-name" targets="Method Priithon.py.editor.Editor.getStatus()=Priithon.py.editor.Editor-class.html#getStatus"><a title="Priithon.py.editor.Editor.getStatus" class="py-name" href="#" onclick="return doclink('link-45', 'getStatus', 'link-45');">getStatus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">            <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-string">'File: %s  |  Line: %d  |  Column: %d'</tt> <tt class="py-op">%</tt> <tt class="py-name">status</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">            <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_defaultText</tt> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">text</tt> <tt class="py-op">!=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_statusText</tt><tt class="py-op">:</tt> </tt>
<a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_statusText</tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt> </tt>
</div><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame._updateTabText"></a><div id="EditorFrame._updateTabText-def"><a name="L88"></a><tt class="py-lineno"> 88</tt> <a class="py-toggle" href="#" id="EditorFrame._updateTabText-toggle" onclick="return toggle('EditorFrame._updateTabText');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#_updateTabText">_updateTabText</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame._updateTabText-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame._updateTabText-expanded"><a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-docstring">"""Show current buffer information on notebook tab."""</tt> </tt>
</div><a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line"><tt class="py-comment">##         suffix = ' **'</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         notebook = self.notebook</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         selection = notebook.GetSelection()</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         if selection == -1:</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             return</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         text = notebook.GetPageText(selection)</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         window = notebook.GetPage(selection)</tt> </tt>
<a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         if window.editor and window.editor.buffer.hasChanged():</tt> </tt>
<a name="L98"></a><tt class="py-lineno"> 98</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             if text.endswith(suffix):</tt> </tt>
<a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 pass</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             else:</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 notebook.SetPageText(selection, text + suffix)</tt> </tt>
<a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         else:</tt> </tt>
<a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             if text.endswith(suffix):</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 notebook.SetPageText(selection, text[:len(suffix)])</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="EditorFrame._updateTitle"></a><div id="EditorFrame._updateTitle-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="EditorFrame._updateTitle-toggle" onclick="return toggle('EditorFrame._updateTitle');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#_updateTitle">_updateTitle</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame._updateTitle-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame._updateTitle-expanded"><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt class="py-docstring">"""Show current title information."""</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">        <tt id="link-46" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-46', 'title', 'link-15');">title</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetTitle</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-47" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferHasChanged()=Priithon.py.editor.EditorFrame-class.html#bufferHasChanged"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-47', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-48" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-48', 'title', 'link-15');">title</a></tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'* '</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">                <tt class="py-keyword">pass</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetTitle</tt><tt class="py-op">(</tt><tt class="py-string">'* '</tt> <tt class="py-op">+</tt> <tt id="link-49" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-49', 'title', 'link-15');">title</a></tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-50" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-50', 'title', 'link-15');">title</a></tt><tt class="py-op">.</tt><tt class="py-name">startswith</tt><tt class="py-op">(</tt><tt class="py-string">'* '</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetTitle</tt><tt class="py-op">(</tt><tt id="link-51" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-51', 'title', 'link-15');">title</a></tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
</div><a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">         </tt>
<a name="EditorFrame.hasBuffer"></a><div id="EditorFrame.hasBuffer-def"><a name="L118"></a><tt class="py-lineno">118</tt> <a class="py-toggle" href="#" id="EditorFrame.hasBuffer-toggle" onclick="return toggle('EditorFrame.hasBuffer');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#hasBuffer">hasBuffer</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.hasBuffer-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.hasBuffer-expanded"><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if there is a current buffer."""</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-52', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-53" class="py-name" targets="Variable Priithon.wxPyPlot.True=Priithon.wxPyPlot-module.html#True"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-53', 'True', 'link-53');">True</a></tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-54" class="py-name" targets="Variable Priithon.wxPyPlot.False=Priithon.wxPyPlot-module.html#False"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-54', 'False', 'link-54');">False</a></tt> </tt>
</div><a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferClose"></a><div id="EditorFrame.bufferClose-def"><a name="L125"></a><tt class="py-lineno">125</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferClose-toggle" onclick="return toggle('EditorFrame.bufferClose');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferClose">bufferClose</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferClose-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferClose-expanded"><a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">        <tt class="py-docstring">"""Close buffer."""</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-55" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-55', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-56', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferDestroy()=Priithon.py.editor.EditorFrame-class.html#bufferDestroy,Method Priithon.py.editor.EditorNotebookFrame.bufferDestroy()=Priithon.py.editor.EditorNotebookFrame-class.html#bufferDestroy,Method Priithon.py.editor.EditorShellNotebookFrame.bufferDestroy()=Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferDestroy"><a title="Priithon.py.editor.EditorFrame.bufferDestroy
Priithon.py.editor.EditorNotebookFrame.bufferDestroy
Priithon.py.editor.EditorShellNotebookFrame.bufferDestroy" class="py-name" href="#" onclick="return doclink('link-57', 'bufferDestroy', 'link-57');">bufferDestroy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-58" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-58', 'False', 'link-54');">False</a></tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferCreate"></a><div id="EditorFrame.bufferCreate-def"><a name="L135"></a><tt class="py-lineno">135</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferCreate-toggle" onclick="return toggle('EditorFrame.bufferCreate');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferCreate">bufferCreate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferCreate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferCreate-expanded"><a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L137"></a><tt class="py-lineno">137</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferDestroy
Priithon.py.editor.EditorNotebookFrame.bufferDestroy
Priithon.py.editor.EditorShellNotebookFrame.bufferDestroy" class="py-name" href="#" onclick="return doclink('link-59', 'bufferDestroy', 'link-57');">bufferDestroy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt id="link-60" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-60', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt id="link-61" class="py-name"><a title="Priithon.py.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-61', 'Buffer', 'link-3');">Buffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">panel</tt> <tt class="py-op">=</tt> <tt class="py-name">panel</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Panel</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt id="link-62" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-62', 'id', 'link-14');">id</a></tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_ERASE_BACKGROUND</tt><tt class="py-op">(</tt><tt class="py-name">panel</tt><tt class="py-op">,</tt> <tt class="py-keyword">lambda</tt> <tt id="link-63" class="py-name" targets="Variable Priithon.viewer.x=Priithon.viewer-module.html#x,Variable Priithon.viewer2.x=Priithon.viewer2-module.html#x,Variable Priithon.viewerCommon.x=Priithon.viewerCommon-module.html#x"><a title="Priithon.viewer.x
Priithon.viewer2.x
Priithon.viewerCommon.x" class="py-name" href="#" onclick="return doclink('link-63', 'x', 'link-63');">x</a></tt><tt class="py-op">:</tt> <tt id="link-64" class="py-name"><a title="Priithon.viewer.x
Priithon.viewer2.x
Priithon.viewerCommon.x" class="py-name" href="#" onclick="return doclink('link-64', 'x', 'link-63');">x</a></tt><tt class="py-op">)</tt>         </tt>
<a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line">        <tt id="link-65" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-65', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-66" class="py-name" targets="Class Priithon.py.editor.Editor=Priithon.py.editor.Editor-class.html"><a title="Priithon.py.editor.Editor" class="py-name" href="#" onclick="return doclink('link-66', 'Editor', 'link-66');">Editor</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">panel</tt><tt class="py-op">)</tt> </tt>
<a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt id="link-67" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-67', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-68" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-68', 'editor', 'link-18');">editor</a></tt> </tt>
<a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">BoxSizer</tt><tt class="py-op">(</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">VERTICAL</tt><tt class="py-op">)</tt> </tt>
<a name="L144"></a><tt class="py-lineno">144</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt><tt class="py-op">.</tt><tt class="py-name">Add</tt><tt class="py-op">(</tt><tt id="link-69" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-69', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EXPAND</tt><tt class="py-op">)</tt> </tt>
<a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt class="py-name">SetSizer</tt><tt class="py-op">(</tt><tt class="py-name">sizer</tt><tt class="py-op">)</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt class="py-name">SetAutoLayout</tt><tt class="py-op">(</tt><tt id="link-70" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-70', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt><tt class="py-op">.</tt><tt class="py-name">Layout</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt id="link-71" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-71', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-72" class="py-name" targets="Method Priithon.py.buffer.Buffer.addEditor()=Priithon.py.buffer.Buffer-class.html#addEditor"><a title="Priithon.py.buffer.Buffer.addEditor" class="py-name" href="#" onclick="return doclink('link-72', 'addEditor', 'link-72');">addEditor</a></tt><tt class="py-op">(</tt><tt id="link-73" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-73', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L149"></a><tt class="py-lineno">149</tt>  <tt class="py-line">        <tt id="link-74" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-74', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Function Priithon.Mrc.open()=Priithon.Mrc-module.html#open,Function Priithon.plt.dumb_shelve.open()=Priithon.plt.dumb_shelve-module.html#open,Function Priithon.plt.dumbdbm_patched.open()=Priithon.plt.dumbdbm_patched-module.html#open,Method Priithon.py.buffer.Buffer.open()=Priithon.py.buffer.Buffer-class.html#open"><a title="Priithon.Mrc.open
Priithon.plt.dumb_shelve.open
Priithon.plt.dumbdbm_patched.open
Priithon.py.buffer.Buffer.open" class="py-name" href="#" onclick="return doclink('link-75', 'open', 'link-75');">open</a></tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-76" class="py-name" targets="Method Priithon.py.editor.EditorFrame.setEditor()=Priithon.py.editor.EditorFrame-class.html#setEditor"><a title="Priithon.py.editor.EditorFrame.setEditor" class="py-name" href="#" onclick="return doclink('link-76', 'setEditor', 'link-76');">setEditor</a></tt><tt class="py-op">(</tt><tt id="link-77" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-77', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L151"></a><tt class="py-lineno">151</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-78', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-79" class="py-name" targets="Method Priithon.py.editor.Editor.setFocus()=Priithon.py.editor.Editor-class.html#setFocus,Method Priithon.py.shell.Shell.setFocus()=Priithon.py.shell.Shell-class.html#setFocus"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-79', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SendSizeEvent</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">         </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferDestroy"></a><div id="EditorFrame.bufferDestroy-def"><a name="L155"></a><tt class="py-lineno">155</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferDestroy-toggle" onclick="return toggle('EditorFrame.bufferDestroy');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferDestroy">bufferDestroy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferDestroy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferDestroy-expanded"><a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">        <tt class="py-docstring">"""Destroy the current buffer."""</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-80" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-80', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-81" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-81', 'editor', 'link-18');">editor</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-82', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">editors</tt><tt class="py-op">.</tt><tt class="py-name">values</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line">                <tt id="link-83" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-83', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-84" class="py-name" targets="Method Priithon.py.editor.Editor.destroy()=Priithon.py.editor.Editor-class.html#destroy,Method Priithon.py.shell.Shell.destroy()=Priithon.py.shell.Shell-class.html#destroy"><a title="Priithon.py.editor.Editor.destroy
Priithon.py.shell.Shell.destroy" class="py-name" href="#" onclick="return doclink('link-84', 'destroy', 'link-84');">destroy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-85" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-85', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">            <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-86" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-86', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-87" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-87', 'id', 'link-14');">id</a></tt><tt class="py-op">]</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-88', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">panel</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line"> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferHasChanged"></a><div id="EditorFrame.bufferHasChanged-def"><a name="L166"></a><tt class="py-lineno">166</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferHasChanged-toggle" onclick="return toggle('EditorFrame.bufferHasChanged');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferHasChanged">bufferHasChanged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferHasChanged-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferHasChanged-expanded"><a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if buffer has changed since last save."""</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-89" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-89', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-90', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="Priithon.py.buffer.Buffer.hasChanged
Priithon.py.editor.Editor.hasChanged" class="py-name" href="#" onclick="return doclink('link-91', 'hasChanged', 'link-37');">hasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-92" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-92', 'False', 'link-54');">False</a></tt> </tt>
</div><a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferNew"></a><div id="EditorFrame.bufferNew-def"><a name="L173"></a><tt class="py-lineno">173</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferNew-toggle" onclick="return toggle('EditorFrame.bufferNew');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferNew">bufferNew</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferNew-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferNew-expanded"><a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-93', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-94', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L177"></a><tt class="py-lineno">177</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-95', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-96" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-96', 'False', 'link-54');">False</a></tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferOpen"></a><div id="EditorFrame.bufferOpen-def"><a name="L183"></a><tt class="py-lineno">183</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferOpen-toggle" onclick="return toggle('EditorFrame.bufferOpen');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferOpen">bufferOpen</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferOpen-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferOpen-expanded"><a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">        <tt class="py-docstring">"""Open file in buffer."""</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-97', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-98', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">        <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-99', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-100" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-100', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt><tt class="py-op">:</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">            <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-101', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-102" class="py-name" targets="Function Priithon.py.editor.openSingle()=Priithon.py.editor-module.html#openSingle"><a title="Priithon.py.editor.openSingle" class="py-name" href="#" onclick="return doclink('link-102', 'openSingle', 'link-102');">openSingle</a></tt><tt class="py-op">(</tt><tt id="link-103" class="py-name" targets="Function Priithon.py.editor.directory()=Priithon.py.editor-module.html#directory"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-103', 'directory', 'link-103');">directory</a></tt><tt class="py-op">=</tt><tt class="py-name">filedir</tt><tt class="py-op">)</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">:</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-104', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-105" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-105', 'False', 'link-54');">False</a></tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line"> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line"><tt class="py-comment">##     def bufferPrint(self):</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         """Print buffer."""</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         pass</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line"><tt class="py-comment">##     def bufferRevert(self):</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         """Revert buffer to version of file on disk."""</tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         pass</tt> </tt>
<a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="EditorFrame.bufferSave"></a><div id="EditorFrame.bufferSave-def"><a name="L206"></a><tt class="py-lineno">206</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferSave-toggle" onclick="return toggle('EditorFrame.bufferSave');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferSave">bufferSave</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferSave-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferSave-expanded"><a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-docstring">"""Save buffer to its file."""</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-106', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filepath</tt><tt class="py-op">:</tt> </tt>
<a name="L209"></a><tt class="py-lineno">209</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-107', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-108" class="py-name" targets="Function Priithon.Mrc.save()=Priithon.Mrc-module.html#save,Method Priithon.mmviewer.GLViewer.save()=Priithon.mmviewer.GLViewer-class.html#save,Function Priithon.plt.interface.save()=Priithon.plt.interface-module.html#save,Method Priithon.plt.wxplt.plot_canvas.save()=Priithon.plt.wxplt.plot_canvas-class.html#save,Method Priithon.py.buffer.Buffer.save()=Priithon.py.buffer.Buffer-class.html#save"><a title="Priithon.Mrc.save
Priithon.mmviewer.GLViewer.save
Priithon.plt.interface.save
Priithon.plt.wxplt.plot_canvas.save
Priithon.py.buffer.Buffer.save" class="py-name" href="#" onclick="return doclink('link-108', 'save', 'link-108');">save</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-109" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-109', 'False', 'link-54');">False</a></tt> </tt>
<a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L212"></a><tt class="py-lineno">212</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferSaveAs()=Priithon.py.editor.EditorFrame-class.html#bufferSaveAs"><a title="Priithon.py.editor.EditorFrame.bufferSaveAs" class="py-name" href="#" onclick="return doclink('link-110', 'bufferSaveAs', 'link-110');">bufferSaveAs</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L214"></a><tt class="py-lineno">214</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferSaveAs"></a><div id="EditorFrame.bufferSaveAs-def"><a name="L215"></a><tt class="py-lineno">215</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferSaveAs-toggle" onclick="return toggle('EditorFrame.bufferSaveAs');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferSaveAs">bufferSaveAs</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferSaveAs-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferSaveAs-expanded"><a name="L216"></a><tt class="py-lineno">216</tt>  <tt class="py-line">        <tt class="py-docstring">"""Save buffer to a new filename."""</tt> </tt>
<a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-111', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-112" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-112', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filepath</tt><tt class="py-op">:</tt> </tt>
<a name="L218"></a><tt class="py-lineno">218</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-113" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-113', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L220"></a><tt class="py-lineno">220</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">        <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-114', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-115" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-115', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt><tt class="py-op">:</tt> </tt>
<a name="L223"></a><tt class="py-lineno">223</tt>  <tt class="py-line">            <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-116" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-116', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt> </tt>
<a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-117" class="py-name" targets="Function Priithon.py.editor.saveSingle()=Priithon.py.editor-module.html#saveSingle"><a title="Priithon.py.editor.saveSingle" class="py-name" href="#" onclick="return doclink('link-117', 'saveSingle', 'link-117');">saveSingle</a></tt><tt class="py-op">(</tt><tt id="link-118" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-118', 'directory', 'link-103');">directory</a></tt><tt class="py-op">=</tt><tt class="py-name">filedir</tt><tt class="py-op">)</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">:</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-119" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-119', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-120" class="py-name" targets="Method Priithon.py.buffer.Buffer.saveAs()=Priithon.py.buffer.Buffer-class.html#saveAs"><a title="Priithon.py.buffer.Buffer.saveAs" class="py-name" href="#" onclick="return doclink('link-120', 'saveAs', 'link-120');">saveAs</a></tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-121" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-121', 'False', 'link-54');">False</a></tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-122" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-122', 'True', 'link-53');">True</a></tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.bufferSuggestSave"></a><div id="EditorFrame.bufferSuggestSave-def"><a name="L232"></a><tt class="py-lineno">232</tt> <a class="py-toggle" href="#" id="EditorFrame.bufferSuggestSave-toggle" onclick="return toggle('EditorFrame.bufferSuggestSave');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#bufferSuggestSave">bufferSuggestSave</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.bufferSuggestSave-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.bufferSuggestSave-expanded"><a name="L233"></a><tt class="py-lineno">233</tt>  <tt class="py-line">        <tt class="py-docstring">"""Suggest saving changes.  Return True if user selected Cancel."""</tt> </tt>
<a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-123" class="py-name" targets="Function Priithon.py.editor.messageDialog()=Priithon.py.editor-module.html#messageDialog"><a title="Priithon.py.editor.messageDialog" class="py-name" href="#" onclick="return doclink('link-123', 'messageDialog', 'link-123');">messageDialog</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> </tt>
<a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line">                               <tt class="py-name">message</tt><tt class="py-op">=</tt><tt class="py-string">'%s has changed.\n'</tt> </tt>
<a name="L236"></a><tt class="py-lineno">236</tt>  <tt class="py-line">                                       <tt class="py-string">'Would you like to save it first'</tt> </tt>
<a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">                                       <tt class="py-string">'?'</tt> <tt class="py-op">%</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-124" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-124', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-125" class="py-name" targets="Variable Priithon.py.crust.Crust.name=Priithon.py.crust.Crust-class.html#name,Variable Priithon.py.crust.CrustFrame.name=Priithon.py.crust.CrustFrame-class.html#name,Variable Priithon.py.filling.Filling.name=Priithon.py.filling.Filling-class.html#name,Variable Priithon.py.filling.FillingFrame.name=Priithon.py.filling.FillingFrame-class.html#name,Variable Priithon.py.filling.FillingText.name=Priithon.py.filling.FillingText-class.html#name,Variable Priithon.py.filling.FillingTree.name=Priithon.py.filling.FillingTree-class.html#name,Variable Priithon.py.shell.Shell.name=Priithon.py.shell.Shell-class.html#name,Variable Priithon.py.shell.ShellFacade.name=Priithon.py.shell.ShellFacade-class.html#name,Variable Priithon.py.shell.ShellFrame.name=Priithon.py.shell.ShellFrame-class.html#name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-125', 'name', 'link-125');">name</a></tt><tt class="py-op">,</tt> </tt>
<a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line">                               <tt id="link-126" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-126', 'title', 'link-15');">title</a></tt><tt class="py-op">=</tt><tt class="py-string">'Save current file?'</tt><tt class="py-op">)</tt> </tt>
<a name="L239"></a><tt class="py-lineno">239</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt><tt class="py-op">:</tt> </tt>
<a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-127" class="py-name" targets="Method Priithon.py.editor.EditorFrame.bufferSave()=Priithon.py.editor.EditorFrame-class.html#bufferSave"><a title="Priithon.py.editor.EditorFrame.bufferSave" class="py-name" href="#" onclick="return doclink('link-127', 'bufferSave', 'link-127');">bufferSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L242"></a><tt class="py-lineno">242</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">text</tt> <tt class="py-op">==</tt> <tt class="py-string">'Cancel'</tt> </tt>
<a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line"> </tt>
<a name="EditorFrame.updateNamespace"></a><div id="EditorFrame.updateNamespace-def"><a name="L245"></a><tt class="py-lineno">245</tt> <a class="py-toggle" href="#" id="EditorFrame.updateNamespace-toggle" onclick="return toggle('EditorFrame.updateNamespace');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorFrame-class.html#updateNamespace">updateNamespace</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorFrame.updateNamespace-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorFrame.updateNamespace-expanded"><a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">        <tt class="py-docstring">"""Update the buffer namespace for autocompletion and calltips."""</tt> </tt>
<a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-128', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-129" class="py-name" targets="Method Priithon.py.buffer.Buffer.updateNamespace()=Priithon.py.buffer.Buffer-class.html#updateNamespace,Method Priithon.py.editor.EditorFrame.updateNamespace()=Priithon.py.editor.EditorFrame-class.html#updateNamespace"><a title="Priithon.py.buffer.Buffer.updateNamespace
Priithon.py.editor.EditorFrame.updateNamespace" class="py-name" href="#" onclick="return doclink('link-129', 'updateNamespace', 'link-129');">updateNamespace</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L248"></a><tt class="py-lineno">248</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt><tt class="py-op">(</tt><tt class="py-string">'Namespace updated'</tt><tt class="py-op">)</tt> </tt>
<a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt><tt class="py-op">(</tt><tt class="py-string">'Error executing, unable to update namespace'</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line"> </tt>
<a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame"></a><div id="EditorNotebookFrame-def"><a name="L253"></a><tt class="py-lineno">253</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame-toggle" onclick="return toggle('EditorNotebookFrame');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html">EditorNotebookFrame</a><tt class="py-op">(</tt><tt class="py-base-class">EditorFrame</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditorNotebookFrame-expanded"><a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line">    <tt class="py-docstring">"""Frame containing one or more editors in a notebook."""</tt> </tt>
<a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame.__init__"></a><div id="EditorNotebookFrame.__init__-def"><a name="L256"></a><tt class="py-lineno">256</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.__init__-toggle" onclick="return toggle('EditorNotebookFrame.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'PyAlaMode'</tt><tt class="py-op">,</tt> </tt>
<a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">                 <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-number">800</tt><tt class="py-op">,</tt> <tt class="py-number">600</tt><tt class="py-op">)</tt><tt class="py-op">,</tt>  </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_FRAME_STYLE</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">NO_FULL_REPAINT_ON_RESIZE</tt><tt class="py-op">,</tt> </tt>
<a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line">                 <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.__init__-expanded"><a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditorNotebookFrame instance."""</tt> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line">        <tt id="link-130" class="py-name" targets="Class Priithon.py.editor.EditorFrame=Priithon.py.editor.EditorFrame-class.html"><a title="Priithon.py.editor.EditorFrame" class="py-name" href="#" onclick="return doclink('link-130', 'EditorFrame', 'link-130');">EditorFrame</a></tt><tt class="py-op">.</tt><tt id="link-131" class="py-name"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-131', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-132" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-132', 'id', 'link-14');">id</a></tt><tt class="py-op">,</tt> <tt id="link-133" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-133', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line">                             <tt id="link-134" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-134', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">:</tt> </tt>
<a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line">            <tt id="link-135" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-135', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-136" class="py-name" targets="Function Priithon.py.dispatcher.connect()=Priithon.py.dispatcher-module.html#connect"><a title="Priithon.py.dispatcher.connect" class="py-name" href="#" onclick="return doclink('link-136', 'connect', 'link-136');">connect</a></tt><tt class="py-op">(</tt><tt class="py-name">receiver</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-137" class="py-name" targets="Method Priithon.py.editor.EditorNotebookFrame._editorChange()=Priithon.py.editor.EditorNotebookFrame-class.html#_editorChange"><a title="Priithon.py.editor.EditorNotebookFrame._editorChange" class="py-name" href="#" onclick="return doclink('link-137', '_editorChange', 'link-137');">_editorChange</a></tt><tt class="py-op">,</tt> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line">                               <tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'EditorChange'</tt><tt class="py-op">,</tt> <tt class="py-name">sender</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">)</tt> </tt>
</div><a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame._setup"></a><div id="EditorNotebookFrame._setup-def"><a name="L268"></a><tt class="py-lineno">268</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame._setup-toggle" onclick="return toggle('EditorNotebookFrame._setup');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#_setup">_setup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame._setup-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame._setup-expanded"><a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line">        <tt class="py-docstring">"""Setup prior to first buffer creation.</tt> </tt>
<a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L271"></a><tt class="py-lineno">271</tt>  <tt class="py-line"><tt class="py-docstring">        Called automatically by base class during init."""</tt> </tt>
<a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt id="link-138" class="py-name" targets="Class Priithon.py.editor.EditorNotebook=Priithon.py.editor.EditorNotebook-class.html"><a title="Priithon.py.editor.EditorNotebook" class="py-name" href="#" onclick="return doclink('link-138', 'EditorNotebook', 'link-138');">EditorNotebook</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line">        <tt class="py-name">intro</tt> <tt class="py-op">=</tt> <tt class="py-string">'Py %s'</tt> <tt class="py-op">%</tt> <tt id="link-139" class="py-name"><a title="Priithon.py.version" class="py-name" href="#" onclick="return doclink('link-139', 'version', 'link-10');">version</a></tt><tt class="py-op">.</tt><tt id="link-140" class="py-name" targets="Variable Priithon.py.version.VERSION=Priithon.py.version-module.html#VERSION"><a title="Priithon.py.version.VERSION" class="py-name" href="#" onclick="return doclink('link-140', 'VERSION', 'link-140');">VERSION</a></tt> </tt>
<a name="L274"></a><tt class="py-lineno">274</tt>  <tt class="py-line">        <tt class="py-keyword">import</tt> <tt class="py-name">imp</tt> </tt>
<a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">        <tt class="py-name">module</tt> <tt class="py-op">=</tt> <tt class="py-name">imp</tt><tt class="py-op">.</tt><tt class="py-name">new_module</tt><tt class="py-op">(</tt><tt class="py-string">'__main__'</tt><tt class="py-op">)</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line">        <tt class="py-keyword">import</tt> <tt class="py-name">__builtin__</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line">        <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">[</tt><tt class="py-string">'__builtins__'</tt><tt class="py-op">]</tt> <tt class="py-op">=</tt> <tt class="py-name">__builtin__</tt> </tt>
<a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line">        <tt class="py-name">namespace</tt> <tt class="py-op">=</tt> <tt class="py-name">module</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">.</tt><tt class="py-name">copy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L279"></a><tt class="py-lineno">279</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-141" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-141', 'crust', 'link-4');">crust</a></tt> <tt class="py-op">=</tt> <tt id="link-142" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-142', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-143" class="py-name" targets="Class Priithon.py.crust.Crust=Priithon.py.crust.Crust-class.html"><a title="Priithon.py.crust.Crust" class="py-name" href="#" onclick="return doclink('link-143', 'Crust', 'link-143');">Crust</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">,</tt> <tt class="py-name">intro</tt><tt class="py-op">=</tt><tt class="py-name">intro</tt><tt class="py-op">,</tt> <tt class="py-name">locals</tt><tt class="py-op">=</tt><tt class="py-name">namespace</tt><tt class="py-op">)</tt> </tt>
<a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-144" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-144', 'shell', 'link-8');">shell</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-145" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-145', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-146" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-146', 'shell', 'link-8');">shell</a></tt> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line">        <tt class="py-comment"># Override the filling so that status messages go to the status bar.</tt> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-147" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-147', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-148" class="py-name" targets="Module Priithon.py.filling=Priithon.py.filling-module.html"><a title="Priithon.py.filling" class="py-name" href="#" onclick="return doclink('link-148', 'filling', 'link-148');">filling</a></tt><tt class="py-op">.</tt><tt class="py-name">tree</tt><tt class="py-op">.</tt><tt id="link-149" class="py-name" targets="Method Priithon.py.filling.FillingTree.setStatusText()=Priithon.py.filling.FillingTree-class.html#setStatusText,Method Priithon.py.shell.Shell.setStatusText()=Priithon.py.shell.Shell-class.html#setStatusText"><a title="Priithon.py.filling.FillingTree.setStatusText
Priithon.py.shell.Shell.setStatusText" class="py-name" href="#" onclick="return doclink('link-149', 'setStatusText', 'link-149');">setStatusText</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line">        <tt class="py-comment"># Override the shell so that status messages go to the status bar.</tt> </tt>
<a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-150" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-150', 'shell', 'link-8');">shell</a></tt><tt class="py-op">.</tt><tt id="link-151" class="py-name"><a title="Priithon.py.filling.FillingTree.setStatusText
Priithon.py.shell.Shell.setStatusText" class="py-name" href="#" onclick="return doclink('link-151', 'setStatusText', 'link-149');">setStatusText</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetStatusText</tt> </tt>
<a name="L285"></a><tt class="py-lineno">285</tt>  <tt class="py-line">        <tt class="py-comment"># Fix a problem with the sash shrinking to nothing.</tt> </tt>
<a name="L286"></a><tt class="py-lineno">286</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-152" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-152', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-153" class="py-name"><a title="Priithon.py.filling" class="py-name" href="#" onclick="return doclink('link-153', 'filling', 'link-148');">filling</a></tt><tt class="py-op">.</tt><tt class="py-name">SetSashPosition</tt><tt class="py-op">(</tt><tt class="py-number">200</tt><tt class="py-op">)</tt> </tt>
<a name="L287"></a><tt class="py-lineno">287</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-154" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-154', 'crust', 'link-4');">crust</a></tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-string">'*Shell*'</tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">=</tt><tt id="link-155" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-155', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L288"></a><tt class="py-lineno">288</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-156" class="py-name"><a title="Priithon.py.editor.EditorFrame.setEditor" class="py-name" href="#" onclick="return doclink('link-156', 'setEditor', 'link-76');">setEditor</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-157" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-157', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-158" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-158', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L289"></a><tt class="py-lineno">289</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-159" class="py-name"><a title="Priithon.py.crust
Priithon.usefulX.crust" class="py-name" href="#" onclick="return doclink('link-159', 'crust', 'link-4');">crust</a></tt><tt class="py-op">.</tt><tt id="link-160" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-160', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-161" class="py-name" targets="Method Priithon.py.editor.EditorShellNotebook.SetFocus()=Priithon.py.editor.EditorShellNotebook-class.html#SetFocus"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-161', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L290"></a><tt class="py-lineno">290</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame._editorChange"></a><div id="EditorNotebookFrame._editorChange-def"><a name="L291"></a><tt class="py-lineno">291</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame._editorChange-toggle" onclick="return toggle('EditorNotebookFrame._editorChange');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#_editorChange">_editorChange</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame._editorChange-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame._editorChange-expanded"><a name="L292"></a><tt class="py-lineno">292</tt>  <tt class="py-line">        <tt class="py-docstring">"""Editor change signal receiver."""</tt> </tt>
<a name="L293"></a><tt class="py-lineno">293</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-162" class="py-name"><a title="Priithon.py.editor.EditorFrame.setEditor" class="py-name" href="#" onclick="return doclink('link-162', 'setEditor', 'link-76');">setEditor</a></tt><tt class="py-op">(</tt><tt id="link-163" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-163', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L294"></a><tt class="py-lineno">294</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame.OnAbout"></a><div id="EditorNotebookFrame.OnAbout-def"><a name="L295"></a><tt class="py-lineno">295</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.OnAbout-toggle" onclick="return toggle('EditorNotebookFrame.OnAbout');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#OnAbout">OnAbout</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.OnAbout-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.OnAbout-expanded"><a name="L296"></a><tt class="py-lineno">296</tt>  <tt class="py-line">        <tt class="py-docstring">"""Display an About window."""</tt> </tt>
<a name="L297"></a><tt class="py-lineno">297</tt>  <tt class="py-line">        <tt id="link-164" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-164', 'title', 'link-15');">title</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'About PyAlaMode'</tt> </tt>
<a name="L298"></a><tt class="py-lineno">298</tt>  <tt class="py-line">        <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-string">'Another fine, flaky program.'</tt> </tt>
<a name="L299"></a><tt class="py-lineno">299</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MessageDialog</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">,</tt> <tt id="link-165" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-165', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> </tt>
<a name="L300"></a><tt class="py-lineno">300</tt>  <tt class="py-line">                                  <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OK</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ICON_INFORMATION</tt><tt class="py-op">)</tt> </tt>
<a name="L301"></a><tt class="py-lineno">301</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L302"></a><tt class="py-lineno">302</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L303"></a><tt class="py-lineno">303</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame._updateTitle"></a><div id="EditorNotebookFrame._updateTitle-def"><a name="L304"></a><tt class="py-lineno">304</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame._updateTitle-toggle" onclick="return toggle('EditorNotebookFrame._updateTitle');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#_updateTitle">_updateTitle</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame._updateTitle-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame._updateTitle-expanded"><a name="L305"></a><tt class="py-lineno">305</tt>  <tt class="py-line">        <tt class="py-docstring">"""Show current title information."""</tt> </tt>
<a name="L306"></a><tt class="py-lineno">306</tt>  <tt class="py-line">        <tt class="py-keyword">pass</tt> </tt>
</div><a name="L307"></a><tt class="py-lineno">307</tt>  <tt class="py-line"><tt class="py-comment">##         title = self.GetTitle()</tt> </tt>
<a name="L308"></a><tt class="py-lineno">308</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         if self.bufferHasChanged():</tt> </tt>
<a name="L309"></a><tt class="py-lineno">309</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             if title.startswith('* '):</tt> </tt>
<a name="L310"></a><tt class="py-lineno">310</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 pass</tt> </tt>
<a name="L311"></a><tt class="py-lineno">311</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             else:</tt> </tt>
<a name="L312"></a><tt class="py-lineno">312</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 self.SetTitle('* ' + title)</tt> </tt>
<a name="L313"></a><tt class="py-lineno">313</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##         else:</tt> </tt>
<a name="L314"></a><tt class="py-lineno">314</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##             if title.startswith('* '):</tt> </tt>
<a name="L315"></a><tt class="py-lineno">315</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">##                 self.SetTitle(title[2:])</tt> </tt>
<a name="L316"></a><tt class="py-lineno">316</tt>  <tt class="py-line"><tt class="py-comment"></tt>         </tt>
<a name="EditorNotebookFrame.bufferCreate"></a><div id="EditorNotebookFrame.bufferCreate-def"><a name="L317"></a><tt class="py-lineno">317</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.bufferCreate-toggle" onclick="return toggle('EditorNotebookFrame.bufferCreate');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#bufferCreate">bufferCreate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.bufferCreate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.bufferCreate-expanded"><a name="L318"></a><tt class="py-lineno">318</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L319"></a><tt class="py-lineno">319</tt>  <tt class="py-line">        <tt id="link-166" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-166', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt id="link-167" class="py-name"><a title="Priithon.py.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-167', 'Buffer', 'link-3');">Buffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L320"></a><tt class="py-lineno">320</tt>  <tt class="py-line">        <tt class="py-name">panel</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Panel</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">,</tt> <tt id="link-168" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-168', 'id', 'link-14');">id</a></tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L321"></a><tt class="py-lineno">321</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_ERASE_BACKGROUND</tt><tt class="py-op">(</tt><tt class="py-name">panel</tt><tt class="py-op">,</tt> <tt class="py-keyword">lambda</tt> <tt id="link-169" class="py-name"><a title="Priithon.viewer.x
Priithon.viewer2.x
Priithon.viewerCommon.x" class="py-name" href="#" onclick="return doclink('link-169', 'x', 'link-63');">x</a></tt><tt class="py-op">:</tt> <tt id="link-170" class="py-name"><a title="Priithon.viewer.x
Priithon.viewer2.x
Priithon.viewerCommon.x" class="py-name" href="#" onclick="return doclink('link-170', 'x', 'link-63');">x</a></tt><tt class="py-op">)</tt>         </tt>
<a name="L322"></a><tt class="py-lineno">322</tt>  <tt class="py-line">        <tt id="link-171" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-171', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-172" class="py-name"><a title="Priithon.py.editor.Editor" class="py-name" href="#" onclick="return doclink('link-172', 'Editor', 'link-66');">Editor</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">panel</tt><tt class="py-op">)</tt> </tt>
<a name="L323"></a><tt class="py-lineno">323</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt id="link-173" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-173', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-174" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-174', 'editor', 'link-18');">editor</a></tt> </tt>
<a name="L324"></a><tt class="py-lineno">324</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">BoxSizer</tt><tt class="py-op">(</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">VERTICAL</tt><tt class="py-op">)</tt> </tt>
<a name="L325"></a><tt class="py-lineno">325</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt><tt class="py-op">.</tt><tt class="py-name">Add</tt><tt class="py-op">(</tt><tt id="link-175" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-175', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EXPAND</tt><tt class="py-op">)</tt> </tt>
<a name="L326"></a><tt class="py-lineno">326</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt class="py-name">SetSizer</tt><tt class="py-op">(</tt><tt class="py-name">sizer</tt><tt class="py-op">)</tt> </tt>
<a name="L327"></a><tt class="py-lineno">327</tt>  <tt class="py-line">        <tt class="py-name">panel</tt><tt class="py-op">.</tt><tt class="py-name">SetAutoLayout</tt><tt class="py-op">(</tt><tt id="link-176" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-176', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L328"></a><tt class="py-lineno">328</tt>  <tt class="py-line">        <tt class="py-name">sizer</tt><tt class="py-op">.</tt><tt class="py-name">Layout</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L329"></a><tt class="py-lineno">329</tt>  <tt class="py-line">        <tt id="link-177" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-177', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-178" class="py-name"><a title="Priithon.py.buffer.Buffer.addEditor" class="py-name" href="#" onclick="return doclink('link-178', 'addEditor', 'link-72');">addEditor</a></tt><tt class="py-op">(</tt><tt id="link-179" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-179', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L330"></a><tt class="py-lineno">330</tt>  <tt class="py-line">        <tt id="link-180" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-180', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-181" class="py-name"><a title="Priithon.Mrc.open
Priithon.plt.dumb_shelve.open
Priithon.plt.dumbdbm_patched.open
Priithon.py.buffer.Buffer.open" class="py-name" href="#" onclick="return doclink('link-181', 'open', 'link-75');">open</a></tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L331"></a><tt class="py-lineno">331</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-182" class="py-name"><a title="Priithon.py.editor.EditorFrame.setEditor" class="py-name" href="#" onclick="return doclink('link-182', 'setEditor', 'link-76');">setEditor</a></tt><tt class="py-op">(</tt><tt id="link-183" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-183', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L332"></a><tt class="py-lineno">332</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">panel</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-184" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-184', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-185" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-185', 'name', 'link-125');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">=</tt><tt id="link-186" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-186', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L333"></a><tt class="py-lineno">333</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-187" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-187', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-188" class="py-name"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-188', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L334"></a><tt class="py-lineno">334</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame.bufferDestroy"></a><div id="EditorNotebookFrame.bufferDestroy-def"><a name="L335"></a><tt class="py-lineno">335</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.bufferDestroy-toggle" onclick="return toggle('EditorNotebookFrame.bufferDestroy');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#bufferDestroy">bufferDestroy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.bufferDestroy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.bufferDestroy-expanded"><a name="L336"></a><tt class="py-lineno">336</tt>  <tt class="py-line">        <tt class="py-docstring">"""Destroy the current buffer."""</tt> </tt>
<a name="L337"></a><tt class="py-lineno">337</tt>  <tt class="py-line">        <tt class="py-name">selection</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L338"></a><tt class="py-lineno">338</tt>  <tt class="py-line"><tt class="py-comment">##         print "Destroy Selection:", selection</tt> </tt>
<a name="L339"></a><tt class="py-lineno">339</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">selection</tt> <tt class="py-op">&gt;</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt>  <tt class="py-comment"># Don't destroy the PyCrust tab.</tt> </tt>
<a name="L340"></a><tt class="py-lineno">340</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-189" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-189', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L341"></a><tt class="py-lineno">341</tt>  <tt class="py-line">                <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-190" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-190', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-191" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-191', 'id', 'link-14');">id</a></tt><tt class="py-op">]</tt> </tt>
<a name="L342"></a><tt class="py-lineno">342</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-192" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-192', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt>  <tt class="py-comment"># Do this before DeletePage().</tt> </tt>
<a name="L343"></a><tt class="py-lineno">343</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">DeletePage</tt><tt class="py-op">(</tt><tt class="py-name">selection</tt><tt class="py-op">)</tt> </tt>
</div><a name="L344"></a><tt class="py-lineno">344</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame.bufferNew"></a><div id="EditorNotebookFrame.bufferNew-def"><a name="L345"></a><tt class="py-lineno">345</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.bufferNew-toggle" onclick="return toggle('EditorNotebookFrame.bufferNew');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#bufferNew">bufferNew</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.bufferNew-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.bufferNew-expanded"><a name="L346"></a><tt class="py-lineno">346</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L347"></a><tt class="py-lineno">347</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-193" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-193', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L348"></a><tt class="py-lineno">348</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-194" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-194', 'False', 'link-54');">False</a></tt> </tt>
<a name="L349"></a><tt class="py-lineno">349</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L350"></a><tt class="py-lineno">350</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebookFrame.bufferOpen"></a><div id="EditorNotebookFrame.bufferOpen-def"><a name="L351"></a><tt class="py-lineno">351</tt> <a class="py-toggle" href="#" id="EditorNotebookFrame.bufferOpen-toggle" onclick="return toggle('EditorNotebookFrame.bufferOpen');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebookFrame-class.html#bufferOpen">bufferOpen</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebookFrame.bufferOpen-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebookFrame.bufferOpen-expanded"><a name="L352"></a><tt class="py-lineno">352</tt>  <tt class="py-line">        <tt class="py-docstring">"""Open file in buffer."""</tt> </tt>
<a name="L353"></a><tt class="py-lineno">353</tt>  <tt class="py-line">        <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L354"></a><tt class="py-lineno">354</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-195" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-195', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-196" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-196', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt><tt class="py-op">:</tt> </tt>
<a name="L355"></a><tt class="py-lineno">355</tt>  <tt class="py-line">            <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-197" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-197', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt> </tt>
<a name="L356"></a><tt class="py-lineno">356</tt>  <tt class="py-line">        <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-198" class="py-name" targets="Function Priithon.py.editor.openMultiple()=Priithon.py.editor-module.html#openMultiple"><a title="Priithon.py.editor.openMultiple" class="py-name" href="#" onclick="return doclink('link-198', 'openMultiple', 'link-198');">openMultiple</a></tt><tt class="py-op">(</tt><tt id="link-199" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-199', 'directory', 'link-103');">directory</a></tt><tt class="py-op">=</tt><tt class="py-name">filedir</tt><tt class="py-op">)</tt> </tt>
<a name="L357"></a><tt class="py-lineno">357</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">path</tt> <tt class="py-keyword">in</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">paths</tt><tt class="py-op">:</tt> </tt>
<a name="L358"></a><tt class="py-lineno">358</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-200" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-200', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
<a name="L359"></a><tt class="py-lineno">359</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-201" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-201', 'False', 'link-54');">False</a></tt> </tt>
<a name="L360"></a><tt class="py-lineno">360</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div></div><a name="L361"></a><tt class="py-lineno">361</tt>  <tt class="py-line"> </tt>
<a name="L362"></a><tt class="py-lineno">362</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook"></a><div id="EditorNotebook-def"><a name="L363"></a><tt class="py-lineno">363</tt> <a class="py-toggle" href="#" id="EditorNotebook-toggle" onclick="return toggle('EditorNotebook');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html">EditorNotebook</a><tt class="py-op">(</tt><tt class="py-base-class">wx</tt><tt class="py-op">.</tt><tt class="py-base-class">Notebook</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditorNotebook-expanded"><a name="L364"></a><tt class="py-lineno">364</tt>  <tt class="py-line">    <tt class="py-docstring">"""A notebook containing a page for each editor."""</tt> </tt>
<a name="L365"></a><tt class="py-lineno">365</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook.__init__"></a><div id="EditorNotebook.__init__-def"><a name="L366"></a><tt class="py-lineno">366</tt> <a class="py-toggle" href="#" id="EditorNotebook.__init__-toggle" onclick="return toggle('EditorNotebook.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebook.__init__-expanded"><a name="L367"></a><tt class="py-lineno">367</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditorNotebook instance."""</tt> </tt>
<a name="L368"></a><tt class="py-lineno">368</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Notebook</tt><tt class="py-op">.</tt><tt id="link-202" class="py-name"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-202', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-203" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-203', 'id', 'link-14');">id</a></tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CLIP_CHILDREN</tt><tt class="py-op">)</tt> </tt>
<a name="L369"></a><tt class="py-lineno">369</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_NOTEBOOK_PAGE_CHANGING</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetId</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L370"></a><tt class="py-lineno">370</tt>  <tt class="py-line">                                      <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-204" class="py-name" targets="Method Priithon.py.editor.EditorNotebook.OnPageChanging()=Priithon.py.editor.EditorNotebook-class.html#OnPageChanging"><a title="Priithon.py.editor.EditorNotebook.OnPageChanging" class="py-name" href="#" onclick="return doclink('link-204', 'OnPageChanging', 'link-204');">OnPageChanging</a></tt><tt class="py-op">)</tt> </tt>
<a name="L371"></a><tt class="py-lineno">371</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_NOTEBOOK_PAGE_CHANGED</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetId</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L372"></a><tt class="py-lineno">372</tt>  <tt class="py-line">                                     <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-205" class="py-name" targets="Method Priithon.py.editor.EditorNotebook.OnPageChanged()=Priithon.py.editor.EditorNotebook-class.html#OnPageChanged,Method Priithon.py.editor.EditorShellNotebook.OnPageChanged()=Priithon.py.editor.EditorShellNotebook-class.html#OnPageChanged"><a title="Priithon.py.editor.EditorNotebook.OnPageChanged
Priithon.py.editor.EditorShellNotebook.OnPageChanged" class="py-name" href="#" onclick="return doclink('link-205', 'OnPageChanged', 'link-205');">OnPageChanged</a></tt><tt class="py-op">)</tt> </tt>
<a name="L373"></a><tt class="py-lineno">373</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_IDLE</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-206" class="py-name"><a title="Priithon.py.editor.EditorFrame.OnIdle
Priithon.py.editor.EditorNotebook.OnIdle
Priithon.py.shell.Shell.OnIdle
Priithon.splitND.spv.OnIdle
Priithon.splitND2.spv.OnIdle" class="py-name" href="#" onclick="return doclink('link-206', 'OnIdle', 'link-20');">OnIdle</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L374"></a><tt class="py-lineno">374</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook.OnIdle"></a><div id="EditorNotebook.OnIdle-def"><a name="L375"></a><tt class="py-lineno">375</tt> <a class="py-toggle" href="#" id="EditorNotebook.OnIdle-toggle" onclick="return toggle('EditorNotebook.OnIdle');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html#OnIdle">OnIdle</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook.OnIdle-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebook.OnIdle-expanded"><a name="L376"></a><tt class="py-lineno">376</tt>  <tt class="py-line">        <tt class="py-docstring">"""Event handler for idle time."""</tt> </tt>
<a name="L377"></a><tt class="py-lineno">377</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-207" class="py-name"><a title="Priithon.py.editor.EditorFrame._updateTabText
Priithon.py.editor.EditorNotebook._updateTabText" class="py-name" href="#" onclick="return doclink('link-207', '_updateTabText', 'link-40');">_updateTabText</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L378"></a><tt class="py-lineno">378</tt>  <tt class="py-line">        <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L379"></a><tt class="py-lineno">379</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook._updateTabText"></a><div id="EditorNotebook._updateTabText-def"><a name="L380"></a><tt class="py-lineno">380</tt> <a class="py-toggle" href="#" id="EditorNotebook._updateTabText-toggle" onclick="return toggle('EditorNotebook._updateTabText');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html#_updateTabText">_updateTabText</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook._updateTabText-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebook._updateTabText-expanded"><a name="L381"></a><tt class="py-lineno">381</tt>  <tt class="py-line">        <tt class="py-docstring">"""Show current buffer display name on all but first tab."""</tt> </tt>
<a name="L382"></a><tt class="py-lineno">382</tt>  <tt class="py-line">        <tt id="link-208" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-208', 'size', 'link-16');">size</a></tt> <tt class="py-op">=</tt> <tt class="py-number">3</tt> </tt>
<a name="L383"></a><tt class="py-lineno">383</tt>  <tt class="py-line">        <tt class="py-name">changed</tt> <tt class="py-op">=</tt> <tt class="py-string">' **'</tt> </tt>
<a name="L384"></a><tt class="py-lineno">384</tt>  <tt class="py-line">        <tt class="py-name">unchanged</tt> <tt class="py-op">=</tt> <tt class="py-string">' --'</tt> </tt>
<a name="L385"></a><tt class="py-lineno">385</tt>  <tt class="py-line">        <tt class="py-name">selection</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L386"></a><tt class="py-lineno">386</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">selection</tt> <tt class="py-op">&lt;</tt> <tt class="py-number">1</tt><tt class="py-op">:</tt> </tt>
<a name="L387"></a><tt class="py-lineno">387</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L388"></a><tt class="py-lineno">388</tt>  <tt class="py-line">        <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetPageText</tt><tt class="py-op">(</tt><tt class="py-name">selection</tt><tt class="py-op">)</tt> </tt>
<a name="L389"></a><tt class="py-lineno">389</tt>  <tt class="py-line">        <tt class="py-name">window</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetPage</tt><tt class="py-op">(</tt><tt class="py-name">selection</tt><tt class="py-op">)</tt> </tt>
<a name="L390"></a><tt class="py-lineno">390</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-209" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-209', 'editor', 'link-18');">editor</a></tt><tt class="py-op">:</tt> </tt>
<a name="L391"></a><tt class="py-lineno">391</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L392"></a><tt class="py-lineno">392</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">changed</tt><tt class="py-op">)</tt> <tt class="py-keyword">or</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">unchanged</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L393"></a><tt class="py-lineno">393</tt>  <tt class="py-line">            <tt id="link-210" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-210', 'name', 'link-125');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt id="link-211" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-211', 'size', 'link-16');">size</a></tt><tt class="py-op">]</tt> </tt>
<a name="L394"></a><tt class="py-lineno">394</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L395"></a><tt class="py-lineno">395</tt>  <tt class="py-line">            <tt id="link-212" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-212', 'name', 'link-125');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt> </tt>
<a name="L396"></a><tt class="py-lineno">396</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt id="link-213" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-213', 'name', 'link-125');">name</a></tt> <tt class="py-op">!=</tt> <tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-214" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-214', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-215" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-215', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-216" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-216', 'name', 'link-125');">name</a></tt><tt class="py-op">:</tt> </tt>
<a name="L397"></a><tt class="py-lineno">397</tt>  <tt class="py-line">            <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-217" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-217', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-218" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-218', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-219" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-219', 'name', 'link-125');">name</a></tt> </tt>
<a name="L398"></a><tt class="py-lineno">398</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-220" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-220', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-221" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-221', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-222" class="py-name"><a title="Priithon.py.buffer.Buffer.hasChanged
Priithon.py.editor.Editor.hasChanged" class="py-name" href="#" onclick="return doclink('link-222', 'hasChanged', 'link-37');">hasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L399"></a><tt class="py-lineno">399</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">changed</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L400"></a><tt class="py-lineno">400</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L401"></a><tt class="py-lineno">401</tt>  <tt class="py-line">            <tt class="py-keyword">elif</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">unchanged</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L402"></a><tt class="py-lineno">402</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt id="link-223" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-223', 'size', 'link-16');">size</a></tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-name">changed</tt> </tt>
<a name="L403"></a><tt class="py-lineno">403</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L404"></a><tt class="py-lineno">404</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">+=</tt> <tt class="py-name">changed</tt> </tt>
<a name="L405"></a><tt class="py-lineno">405</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L406"></a><tt class="py-lineno">406</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">changed</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L407"></a><tt class="py-lineno">407</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-op">-</tt><tt id="link-224" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-224', 'size', 'link-16');">size</a></tt><tt class="py-op">]</tt> <tt class="py-op">+</tt> <tt class="py-name">unchanged</tt> </tt>
<a name="L408"></a><tt class="py-lineno">408</tt>  <tt class="py-line">            <tt class="py-keyword">elif</tt> <tt class="py-name">text</tt><tt class="py-op">.</tt><tt class="py-name">endswith</tt><tt class="py-op">(</tt><tt class="py-name">unchanged</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L409"></a><tt class="py-lineno">409</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L410"></a><tt class="py-lineno">410</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L411"></a><tt class="py-lineno">411</tt>  <tt class="py-line">                <tt class="py-name">text</tt> <tt class="py-op">+=</tt> <tt class="py-name">unchanged</tt> </tt>
<a name="L412"></a><tt class="py-lineno">412</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">text</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L413"></a><tt class="py-lineno">413</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">SetPageText</tt><tt class="py-op">(</tt><tt class="py-name">selection</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L414"></a><tt class="py-lineno">414</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-225" class="py-name" targets="Method Priithon.py.crust.Display.Refresh()=Priithon.py.crust.Display-class.html#Refresh"><a title="Priithon.py.crust.Display.Refresh" class="py-name" href="#" onclick="return doclink('link-225', 'Refresh', 'link-225');">Refresh</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt>  <tt class="py-comment"># Needed on Win98.</tt> </tt>
</div><a name="L415"></a><tt class="py-lineno">415</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook.OnPageChanging"></a><div id="EditorNotebook.OnPageChanging-def"><a name="L416"></a><tt class="py-lineno">416</tt> <a class="py-toggle" href="#" id="EditorNotebook.OnPageChanging-toggle" onclick="return toggle('EditorNotebook.OnPageChanging');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html#OnPageChanging">OnPageChanging</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook.OnPageChanging-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebook.OnPageChanging-expanded"><a name="L417"></a><tt class="py-lineno">417</tt>  <tt class="py-line">        <tt class="py-docstring">"""Page changing event handler."""</tt> </tt>
<a name="L418"></a><tt class="py-lineno">418</tt>  <tt class="py-line">        <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L419"></a><tt class="py-lineno">419</tt>  <tt class="py-line"> </tt>
<a name="EditorNotebook.OnPageChanged"></a><div id="EditorNotebook.OnPageChanged-def"><a name="L420"></a><tt class="py-lineno">420</tt> <a class="py-toggle" href="#" id="EditorNotebook.OnPageChanged-toggle" onclick="return toggle('EditorNotebook.OnPageChanged');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorNotebook-class.html#OnPageChanged">OnPageChanged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorNotebook.OnPageChanged-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorNotebook.OnPageChanged-expanded"><a name="L421"></a><tt class="py-lineno">421</tt>  <tt class="py-line">        <tt class="py-docstring">"""Page changed event handler."""</tt> </tt>
<a name="L422"></a><tt class="py-lineno">422</tt>  <tt class="py-line">        <tt id="link-226" class="py-name" targets="Method Priithon.py.buffer.Buffer.new()=Priithon.py.buffer.Buffer-class.html#new"><a title="Priithon.py.buffer.Buffer.new" class="py-name" href="#" onclick="return doclink('link-226', 'new', 'link-226');">new</a></tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L423"></a><tt class="py-lineno">423</tt>  <tt class="py-line">        <tt class="py-name">window</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetPage</tt><tt class="py-op">(</tt><tt id="link-227" class="py-name"><a title="Priithon.py.buffer.Buffer.new" class="py-name" href="#" onclick="return doclink('link-227', 'new', 'link-226');">new</a></tt><tt class="py-op">)</tt> </tt>
<a name="L424"></a><tt class="py-lineno">424</tt>  <tt class="py-line">        <tt id="link-228" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-228', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-229" class="py-name" targets="Function Priithon.py.dispatcher.send()=Priithon.py.dispatcher-module.html#send"><a title="Priithon.py.dispatcher.send" class="py-name" href="#" onclick="return doclink('link-229', 'send', 'link-229');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'EditorChange'</tt><tt class="py-op">,</tt> <tt class="py-name">sender</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> </tt>
<a name="L425"></a><tt class="py-lineno">425</tt>  <tt class="py-line">                        <tt id="link-230" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-230', 'editor', 'link-18');">editor</a></tt><tt class="py-op">=</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-231" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-231', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L426"></a><tt class="py-lineno">426</tt>  <tt class="py-line">        <tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-232" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-232', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L427"></a><tt class="py-lineno">427</tt>  <tt class="py-line">        <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L428"></a><tt class="py-lineno">428</tt>  <tt class="py-line"> </tt>
<a name="L429"></a><tt class="py-lineno">429</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame"></a><div id="EditorShellNotebookFrame-def"><a name="L430"></a><tt class="py-lineno">430</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame-toggle" onclick="return toggle('EditorShellNotebookFrame');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html">EditorShellNotebookFrame</a><tt class="py-op">(</tt><tt class="py-base-class">EditorNotebookFrame</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditorShellNotebookFrame-expanded"><a name="L431"></a><tt class="py-lineno">431</tt>  <tt class="py-line">    <tt class="py-docstring">"""Frame containing a notebook containing EditorShellNotebooks."""</tt> </tt>
<a name="L432"></a><tt class="py-lineno">432</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.__init__"></a><div id="EditorShellNotebookFrame.__init__-def"><a name="L433"></a><tt class="py-lineno">433</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.__init__-toggle" onclick="return toggle('EditorShellNotebookFrame.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'PyAlaModeTest'</tt><tt class="py-op">,</tt> </tt>
<a name="L434"></a><tt class="py-lineno">434</tt>  <tt class="py-line">                 <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-number">600</tt><tt class="py-op">,</tt> <tt class="py-number">400</tt><tt class="py-op">)</tt><tt class="py-op">,</tt>  </tt>
<a name="L435"></a><tt class="py-lineno">435</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DEFAULT_FRAME_STYLE</tt><tt class="py-op">,</tt> </tt>
<a name="L436"></a><tt class="py-lineno">436</tt>  <tt class="py-line">                 <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">singlefile</tt><tt class="py-op">=</tt><tt id="link-233" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-233', 'False', 'link-54');">False</a></tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.__init__-expanded"><a name="L437"></a><tt class="py-lineno">437</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditorShellNotebookFrame instance."""</tt> </tt>
<a name="L438"></a><tt class="py-lineno">438</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt> <tt class="py-op">=</tt> <tt class="py-name">singlefile</tt> </tt>
<a name="L439"></a><tt class="py-lineno">439</tt>  <tt class="py-line">        <tt id="link-234" class="py-name" targets="Class Priithon.py.editor.EditorNotebookFrame=Priithon.py.editor.EditorNotebookFrame-class.html"><a title="Priithon.py.editor.EditorNotebookFrame" class="py-name" href="#" onclick="return doclink('link-234', 'EditorNotebookFrame', 'link-234');">EditorNotebookFrame</a></tt><tt class="py-op">.</tt><tt id="link-235" class="py-name"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-235', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-236" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-236', 'id', 'link-14');">id</a></tt><tt class="py-op">,</tt> <tt id="link-237" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-237', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> </tt>
<a name="L440"></a><tt class="py-lineno">440</tt>  <tt class="py-line">                                     <tt id="link-238" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-238', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
</div><a name="L441"></a><tt class="py-lineno">441</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame._setup"></a><div id="EditorShellNotebookFrame._setup-def"><a name="L442"></a><tt class="py-lineno">442</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame._setup-toggle" onclick="return toggle('EditorShellNotebookFrame._setup');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#_setup">_setup</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame._setup-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame._setup-expanded"><a name="L443"></a><tt class="py-lineno">443</tt>  <tt class="py-line">        <tt class="py-docstring">"""Setup prior to first buffer creation.</tt> </tt>
<a name="L444"></a><tt class="py-lineno">444</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt>
<a name="L445"></a><tt class="py-lineno">445</tt>  <tt class="py-line"><tt class="py-docstring">        Called automatically by base class during init."""</tt> </tt>
<a name="L446"></a><tt class="py-lineno">446</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt><tt class="py-op">:</tt> </tt>
<a name="L447"></a><tt class="py-lineno">447</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt id="link-239" class="py-name"><a title="Priithon.py.editor.EditorNotebook" class="py-name" href="#" onclick="return doclink('link-239', 'EditorNotebook', 'link-138');">EditorNotebook</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
</div><a name="L448"></a><tt class="py-lineno">448</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.OnAbout"></a><div id="EditorShellNotebookFrame.OnAbout-def"><a name="L449"></a><tt class="py-lineno">449</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.OnAbout-toggle" onclick="return toggle('EditorShellNotebookFrame.OnAbout');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#OnAbout">OnAbout</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.OnAbout-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.OnAbout-expanded"><a name="L450"></a><tt class="py-lineno">450</tt>  <tt class="py-line">        <tt class="py-docstring">"""Display an About window."""</tt> </tt>
<a name="L451"></a><tt class="py-lineno">451</tt>  <tt class="py-line">        <tt id="link-240" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-240', 'title', 'link-15');">title</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'About PyAlaModePlus'</tt> </tt>
<a name="L452"></a><tt class="py-lineno">452</tt>  <tt class="py-line">        <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-string">'Another fine, flaky program.'</tt> </tt>
<a name="L453"></a><tt class="py-lineno">453</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MessageDialog</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">,</tt> <tt id="link-241" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-241', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> </tt>
<a name="L454"></a><tt class="py-lineno">454</tt>  <tt class="py-line">                                  <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OK</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ICON_INFORMATION</tt><tt class="py-op">)</tt> </tt>
<a name="L455"></a><tt class="py-lineno">455</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L456"></a><tt class="py-lineno">456</tt>  <tt class="py-line">        <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L457"></a><tt class="py-lineno">457</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.bufferCreate"></a><div id="EditorShellNotebookFrame.bufferCreate-def"><a name="L458"></a><tt class="py-lineno">458</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.bufferCreate-toggle" onclick="return toggle('EditorShellNotebookFrame.bufferCreate');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferCreate">bufferCreate</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.bufferCreate-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.bufferCreate-expanded"><a name="L459"></a><tt class="py-lineno">459</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L460"></a><tt class="py-lineno">460</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt><tt class="py-op">:</tt> </tt>
<a name="L461"></a><tt class="py-lineno">461</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-242" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferDestroy
Priithon.py.editor.EditorNotebookFrame.bufferDestroy
Priithon.py.editor.EditorShellNotebookFrame.bufferDestroy" class="py-name" href="#" onclick="return doclink('link-242', 'bufferDestroy', 'link-57');">bufferDestroy</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L462"></a><tt class="py-lineno">462</tt>  <tt class="py-line">            <tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt id="link-243" class="py-name" targets="Class Priithon.py.editor.EditorShellNotebook=Priithon.py.editor.EditorShellNotebook-class.html"><a title="Priithon.py.editor.EditorShellNotebook" class="py-name" href="#" onclick="return doclink('link-243', 'EditorShellNotebook', 'link-243');">EditorShellNotebook</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> </tt>
<a name="L463"></a><tt class="py-lineno">463</tt>  <tt class="py-line">                                           <tt class="py-name">filename</tt><tt class="py-op">=</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L464"></a><tt class="py-lineno">464</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt class="py-name">notebook</tt> </tt>
<a name="L465"></a><tt class="py-lineno">465</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L466"></a><tt class="py-lineno">466</tt>  <tt class="py-line">            <tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt id="link-244" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook" class="py-name" href="#" onclick="return doclink('link-244', 'EditorShellNotebook', 'link-243');">EditorShellNotebook</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">,</tt> </tt>
<a name="L467"></a><tt class="py-lineno">467</tt>  <tt class="py-line">                                           <tt class="py-name">filename</tt><tt class="py-op">=</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L468"></a><tt class="py-lineno">468</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-245" class="py-name"><a title="Priithon.py.editor.EditorFrame.setEditor" class="py-name" href="#" onclick="return doclink('link-245', 'setEditor', 'link-76');">setEditor</a></tt><tt class="py-op">(</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt id="link-246" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-246', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L469"></a><tt class="py-lineno">469</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt><tt class="py-op">:</tt> </tt>
<a name="L470"></a><tt class="py-lineno">470</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">notebook</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-247" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-247', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-248" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-248', 'name', 'link-125');">name</a></tt><tt class="py-op">,</tt> </tt>
<a name="L471"></a><tt class="py-lineno">471</tt>  <tt class="py-line">                                  <tt class="py-name">select</tt><tt class="py-op">=</tt><tt id="link-249" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-249', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L472"></a><tt class="py-lineno">472</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-250" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-250', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-251" class="py-name"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-251', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L473"></a><tt class="py-lineno">473</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.bufferDestroy"></a><div id="EditorShellNotebookFrame.bufferDestroy-def"><a name="L474"></a><tt class="py-lineno">474</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.bufferDestroy-toggle" onclick="return toggle('EditorShellNotebookFrame.bufferDestroy');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferDestroy">bufferDestroy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.bufferDestroy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.bufferDestroy-expanded"><a name="L475"></a><tt class="py-lineno">475</tt>  <tt class="py-line">        <tt class="py-docstring">"""Destroy the current buffer."""</tt> </tt>
<a name="L476"></a><tt class="py-lineno">476</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-252" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-252', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L477"></a><tt class="py-lineno">477</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-253" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-253', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L478"></a><tt class="py-lineno">478</tt>  <tt class="py-line">            <tt class="py-keyword">del</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">buffers</tt><tt class="py-op">[</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-254" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-254', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-255" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-255', 'id', 'link-14');">id</a></tt><tt class="py-op">]</tt> </tt>
<a name="L479"></a><tt class="py-lineno">479</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-256" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-256', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt>  <tt class="py-comment"># Do this before DeletePage().</tt> </tt>
<a name="L480"></a><tt class="py-lineno">480</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt><tt class="py-op">:</tt> </tt>
<a name="L481"></a><tt class="py-lineno">481</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L482"></a><tt class="py-lineno">482</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L483"></a><tt class="py-lineno">483</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L484"></a><tt class="py-lineno">484</tt>  <tt class="py-line">            <tt class="py-name">selection</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L485"></a><tt class="py-lineno">485</tt>  <tt class="py-line"><tt class="py-comment">##             print "Destroy Selection:", selection</tt> </tt>
<a name="L486"></a><tt class="py-lineno">486</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">notebook</tt><tt class="py-op">.</tt><tt class="py-name">DeletePage</tt><tt class="py-op">(</tt><tt class="py-name">selection</tt><tt class="py-op">)</tt> </tt>
</div><a name="L487"></a><tt class="py-lineno">487</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.bufferNew"></a><div id="EditorShellNotebookFrame.bufferNew-def"><a name="L488"></a><tt class="py-lineno">488</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.bufferNew-toggle" onclick="return toggle('EditorShellNotebookFrame.bufferNew');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferNew">bufferNew</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.bufferNew-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.bufferNew-expanded"><a name="L489"></a><tt class="py-lineno">489</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create new buffer."""</tt> </tt>
<a name="L490"></a><tt class="py-lineno">490</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-257" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-257', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L491"></a><tt class="py-lineno">491</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-258" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-258', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L492"></a><tt class="py-lineno">492</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L493"></a><tt class="py-lineno">493</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L494"></a><tt class="py-lineno">494</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-259" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-259', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L495"></a><tt class="py-lineno">495</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-260" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-260', 'False', 'link-54');">False</a></tt> </tt>
<a name="L496"></a><tt class="py-lineno">496</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div><a name="L497"></a><tt class="py-lineno">497</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebookFrame.bufferOpen"></a><div id="EditorShellNotebookFrame.bufferOpen-def"><a name="L498"></a><tt class="py-lineno">498</tt> <a class="py-toggle" href="#" id="EditorShellNotebookFrame.bufferOpen-toggle" onclick="return toggle('EditorShellNotebookFrame.bufferOpen');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebookFrame-class.html#bufferOpen">bufferOpen</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebookFrame.bufferOpen-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebookFrame.bufferOpen-expanded"><a name="L499"></a><tt class="py-lineno">499</tt>  <tt class="py-line">        <tt class="py-docstring">"""Open file in buffer."""</tt> </tt>
<a name="L500"></a><tt class="py-lineno">500</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-261" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferHasChanged" class="py-name" href="#" onclick="return doclink('link-261', 'bufferHasChanged', 'link-47');">bufferHasChanged</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L501"></a><tt class="py-lineno">501</tt>  <tt class="py-line">            <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-262" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferSuggestSave" class="py-name" href="#" onclick="return doclink('link-262', 'bufferSuggestSave', 'link-38');">bufferSuggestSave</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L502"></a><tt class="py-lineno">502</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">cancel</tt><tt class="py-op">:</tt> </tt>
<a name="L503"></a><tt class="py-lineno">503</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
<a name="L504"></a><tt class="py-lineno">504</tt>  <tt class="py-line">        <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L505"></a><tt class="py-lineno">505</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-263" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-263', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-keyword">and</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-264" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-264', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt><tt class="py-op">:</tt> </tt>
<a name="L506"></a><tt class="py-lineno">506</tt>  <tt class="py-line">            <tt class="py-name">filedir</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-265" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-265', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filedir</tt> </tt>
<a name="L507"></a><tt class="py-lineno">507</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_singlefile</tt><tt class="py-op">:</tt> </tt>
<a name="L508"></a><tt class="py-lineno">508</tt>  <tt class="py-line">            <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-266" class="py-name"><a title="Priithon.py.editor.openSingle" class="py-name" href="#" onclick="return doclink('link-266', 'openSingle', 'link-102');">openSingle</a></tt><tt class="py-op">(</tt><tt id="link-267" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-267', 'directory', 'link-103');">directory</a></tt><tt class="py-op">=</tt><tt class="py-name">filedir</tt><tt class="py-op">)</tt> </tt>
<a name="L509"></a><tt class="py-lineno">509</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">:</tt> </tt>
<a name="L510"></a><tt class="py-lineno">510</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-268" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-268', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
<a name="L511"></a><tt class="py-lineno">511</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L512"></a><tt class="py-lineno">512</tt>  <tt class="py-line">            <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-269" class="py-name"><a title="Priithon.py.editor.openMultiple" class="py-name" href="#" onclick="return doclink('link-269', 'openMultiple', 'link-198');">openMultiple</a></tt><tt class="py-op">(</tt><tt id="link-270" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-270', 'directory', 'link-103');">directory</a></tt><tt class="py-op">=</tt><tt class="py-name">filedir</tt><tt class="py-op">)</tt> </tt>
<a name="L513"></a><tt class="py-lineno">513</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">path</tt> <tt class="py-keyword">in</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">paths</tt><tt class="py-op">:</tt> </tt>
<a name="L514"></a><tt class="py-lineno">514</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-271" class="py-name"><a title="Priithon.py.editor.EditorFrame.bufferCreate
Priithon.py.editor.EditorNotebookFrame.bufferCreate
Priithon.py.editor.EditorShellNotebookFrame.bufferCreate" class="py-name" href="#" onclick="return doclink('link-271', 'bufferCreate', 'link-22');">bufferCreate</a></tt><tt class="py-op">(</tt><tt class="py-name">path</tt><tt class="py-op">)</tt> </tt>
<a name="L515"></a><tt class="py-lineno">515</tt>  <tt class="py-line">        <tt class="py-name">cancel</tt> <tt class="py-op">=</tt> <tt id="link-272" class="py-name"><a title="Priithon.wxPyPlot.False" class="py-name" href="#" onclick="return doclink('link-272', 'False', 'link-54');">False</a></tt> </tt>
<a name="L516"></a><tt class="py-lineno">516</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">cancel</tt> </tt>
</div></div><a name="L517"></a><tt class="py-lineno">517</tt>  <tt class="py-line"> </tt>
<a name="L518"></a><tt class="py-lineno">518</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebook"></a><div id="EditorShellNotebook-def"><a name="L519"></a><tt class="py-lineno">519</tt> <a class="py-toggle" href="#" id="EditorShellNotebook-toggle" onclick="return toggle('EditorShellNotebook');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebook-class.html">EditorShellNotebook</a><tt class="py-op">(</tt><tt class="py-base-class">wx</tt><tt class="py-op">.</tt><tt class="py-base-class">Notebook</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebook-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditorShellNotebook-expanded"><a name="L520"></a><tt class="py-lineno">520</tt>  <tt class="py-line">    <tt class="py-docstring">"""A notebook containing an editor page and a shell page."""</tt> </tt>
<a name="L521"></a><tt class="py-lineno">521</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebook.__init__"></a><div id="EditorShellNotebook.__init__-def"><a name="L522"></a><tt class="py-lineno">522</tt> <a class="py-toggle" href="#" id="EditorShellNotebook.__init__-toggle" onclick="return toggle('EditorShellNotebook.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebook-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebook.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebook.__init__-expanded"><a name="L523"></a><tt class="py-lineno">523</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditorShellNotebook instance."""</tt> </tt>
<a name="L524"></a><tt class="py-lineno">524</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Notebook</tt><tt class="py-op">.</tt><tt id="link-273" class="py-name"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-273', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-274" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-274', 'id', 'link-14');">id</a></tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L525"></a><tt class="py-lineno">525</tt>  <tt class="py-line">        <tt class="py-name">usePanels</tt> <tt class="py-op">=</tt> <tt id="link-275" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-275', 'True', 'link-53');">True</a></tt> </tt>
<a name="L526"></a><tt class="py-lineno">526</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">usePanels</tt><tt class="py-op">:</tt> </tt>
<a name="L527"></a><tt class="py-lineno">527</tt>  <tt class="py-line">            <tt class="py-name">editorparent</tt> <tt class="py-op">=</tt> <tt class="py-name">editorpanel</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Panel</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L528"></a><tt class="py-lineno">528</tt>  <tt class="py-line">            <tt class="py-name">shellparent</tt> <tt class="py-op">=</tt> <tt class="py-name">shellpanel</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Panel</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L529"></a><tt class="py-lineno">529</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L530"></a><tt class="py-lineno">530</tt>  <tt class="py-line">            <tt class="py-name">editorparent</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt> </tt>
<a name="L531"></a><tt class="py-lineno">531</tt>  <tt class="py-line">            <tt class="py-name">shellparent</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt> </tt>
<a name="L532"></a><tt class="py-lineno">532</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-276" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-276', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt id="link-277" class="py-name"><a title="Priithon.py.buffer.Buffer" class="py-name" href="#" onclick="return doclink('link-277', 'Buffer', 'link-3');">Buffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L533"></a><tt class="py-lineno">533</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-278" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-278', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-279" class="py-name"><a title="Priithon.py.editor.Editor" class="py-name" href="#" onclick="return doclink('link-279', 'Editor', 'link-66');">Editor</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">editorparent</tt><tt class="py-op">)</tt> </tt>
<a name="L534"></a><tt class="py-lineno">534</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-280" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-280', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-281" class="py-name"><a title="Priithon.py.buffer.Buffer.addEditor" class="py-name" href="#" onclick="return doclink('link-281', 'addEditor', 'link-72');">addEditor</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-282" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-282', 'editor', 'link-18');">editor</a></tt><tt class="py-op">)</tt> </tt>
<a name="L535"></a><tt class="py-lineno">535</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-283" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-283', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-284" class="py-name"><a title="Priithon.Mrc.open
Priithon.plt.dumb_shelve.open
Priithon.plt.dumbdbm_patched.open
Priithon.py.buffer.Buffer.open" class="py-name" href="#" onclick="return doclink('link-284', 'open', 'link-75');">open</a></tt><tt class="py-op">(</tt><tt class="py-name">filename</tt><tt class="py-op">)</tt> </tt>
<a name="L536"></a><tt class="py-lineno">536</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-285" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-285', 'shell', 'link-8');">shell</a></tt> <tt class="py-op">=</tt> <tt id="link-286" class="py-name"><a title="Priithon.py.shell.Shell" class="py-name" href="#" onclick="return doclink('link-286', 'Shell', 'link-9');">Shell</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">=</tt><tt class="py-name">shellparent</tt><tt class="py-op">,</tt> <tt class="py-name">locals</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-287" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-287', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">interp</tt><tt class="py-op">.</tt><tt class="py-name">locals</tt><tt class="py-op">,</tt> </tt>
<a name="L537"></a><tt class="py-lineno">537</tt>  <tt class="py-line">                           <tt class="py-name">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CLIP_CHILDREN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">SUNKEN_BORDER</tt><tt class="py-op">)</tt> </tt>
<a name="L538"></a><tt class="py-lineno">538</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-288" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-288', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">interp</tt><tt class="py-op">.</tt><tt class="py-name">locals</tt><tt class="py-op">.</tt><tt id="link-289" class="py-name" targets="Method Priithon.py.shell.Shell.clear()=Priithon.py.shell.Shell-class.html#clear"><a title="Priithon.py.shell.Shell.clear" class="py-name" href="#" onclick="return doclink('link-289', 'clear', 'link-289');">clear</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L539"></a><tt class="py-lineno">539</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">usePanels</tt><tt class="py-op">:</tt> </tt>
<a name="L540"></a><tt class="py-lineno">540</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">editorpanel</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-string">'Editor'</tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">=</tt><tt id="link-290" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-290', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L541"></a><tt class="py-lineno">541</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">shellpanel</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-string">'Shell'</tt><tt class="py-op">)</tt> </tt>
<a name="L542"></a><tt class="py-lineno">542</tt>  <tt class="py-line">            <tt class="py-comment"># Setup sizers</tt> </tt>
<a name="L543"></a><tt class="py-lineno">543</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">editorsizer</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">BoxSizer</tt><tt class="py-op">(</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">VERTICAL</tt><tt class="py-op">)</tt> </tt>
<a name="L544"></a><tt class="py-lineno">544</tt>  <tt class="py-line">            <tt class="py-name">editorsizer</tt><tt class="py-op">.</tt><tt class="py-name">Add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-291" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-291', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EXPAND</tt><tt class="py-op">)</tt> </tt>
<a name="L545"></a><tt class="py-lineno">545</tt>  <tt class="py-line">            <tt class="py-name">editorpanel</tt><tt class="py-op">.</tt><tt class="py-name">SetSizer</tt><tt class="py-op">(</tt><tt class="py-name">editorsizer</tt><tt class="py-op">)</tt> </tt>
<a name="L546"></a><tt class="py-lineno">546</tt>  <tt class="py-line">            <tt class="py-name">editorpanel</tt><tt class="py-op">.</tt><tt class="py-name">SetAutoLayout</tt><tt class="py-op">(</tt><tt id="link-292" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-292', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L547"></a><tt class="py-lineno">547</tt>  <tt class="py-line">            <tt class="py-name">shellsizer</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">BoxSizer</tt><tt class="py-op">(</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">VERTICAL</tt><tt class="py-op">)</tt> </tt>
<a name="L548"></a><tt class="py-lineno">548</tt>  <tt class="py-line">            <tt class="py-name">shellsizer</tt><tt class="py-op">.</tt><tt class="py-name">Add</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-293" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-293', 'shell', 'link-8');">shell</a></tt><tt class="py-op">,</tt> <tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EXPAND</tt><tt class="py-op">)</tt> </tt>
<a name="L549"></a><tt class="py-lineno">549</tt>  <tt class="py-line">            <tt class="py-name">shellpanel</tt><tt class="py-op">.</tt><tt class="py-name">SetSizer</tt><tt class="py-op">(</tt><tt class="py-name">shellsizer</tt><tt class="py-op">)</tt> </tt>
<a name="L550"></a><tt class="py-lineno">550</tt>  <tt class="py-line">            <tt class="py-name">shellpanel</tt><tt class="py-op">.</tt><tt class="py-name">SetAutoLayout</tt><tt class="py-op">(</tt><tt id="link-294" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-294', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L551"></a><tt class="py-lineno">551</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L552"></a><tt class="py-lineno">552</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-295" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-295', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-string">'Editor'</tt><tt class="py-op">,</tt> <tt class="py-name">select</tt><tt class="py-op">=</tt><tt id="link-296" class="py-name"><a title="Priithon.wxPyPlot.True" class="py-name" href="#" onclick="return doclink('link-296', 'True', 'link-53');">True</a></tt><tt class="py-op">)</tt> </tt>
<a name="L553"></a><tt class="py-lineno">553</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">AddPage</tt><tt class="py-op">(</tt><tt class="py-name">page</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-297" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-297', 'shell', 'link-8');">shell</a></tt><tt class="py-op">,</tt> <tt class="py-name">text</tt><tt class="py-op">=</tt><tt class="py-string">'Shell'</tt><tt class="py-op">)</tt> </tt>
<a name="L554"></a><tt class="py-lineno">554</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-298" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-298', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-299" class="py-name"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-299', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L555"></a><tt class="py-lineno">555</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_NOTEBOOK_PAGE_CHANGED</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetId</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-300" class="py-name"><a title="Priithon.py.editor.EditorNotebook.OnPageChanged
Priithon.py.editor.EditorShellNotebook.OnPageChanged" class="py-name" href="#" onclick="return doclink('link-300', 'OnPageChanged', 'link-205');">OnPageChanged</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L556"></a><tt class="py-lineno">556</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebook.OnPageChanged"></a><div id="EditorShellNotebook.OnPageChanged-def"><a name="L557"></a><tt class="py-lineno">557</tt> <a class="py-toggle" href="#" id="EditorShellNotebook.OnPageChanged-toggle" onclick="return toggle('EditorShellNotebook.OnPageChanged');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebook-class.html#OnPageChanged">OnPageChanged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebook.OnPageChanged-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebook.OnPageChanged-expanded"><a name="L558"></a><tt class="py-lineno">558</tt>  <tt class="py-line">        <tt class="py-docstring">"""Page changed event handler."""</tt> </tt>
<a name="L559"></a><tt class="py-lineno">559</tt>  <tt class="py-line">        <tt class="py-name">selection</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L560"></a><tt class="py-lineno">560</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">selection</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L561"></a><tt class="py-lineno">561</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-301" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-301', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-302" class="py-name"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-302', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L562"></a><tt class="py-lineno">562</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L563"></a><tt class="py-lineno">563</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-303" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-303', 'shell', 'link-8');">shell</a></tt><tt class="py-op">.</tt><tt id="link-304" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-304', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L564"></a><tt class="py-lineno">564</tt>  <tt class="py-line">        <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L565"></a><tt class="py-lineno">565</tt>  <tt class="py-line"> </tt>
<a name="EditorShellNotebook.SetFocus"></a><div id="EditorShellNotebook.SetFocus-def"><a name="L566"></a><tt class="py-lineno">566</tt> <a class="py-toggle" href="#" id="EditorShellNotebook.SetFocus-toggle" onclick="return toggle('EditorShellNotebook.SetFocus');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditorShellNotebook-class.html#SetFocus">SetFocus</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditorShellNotebook.SetFocus-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditorShellNotebook.SetFocus-expanded"><a name="L567"></a><tt class="py-lineno">567</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">Notebook</tt><tt class="py-op">.</tt><tt id="link-305" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-305', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">)</tt> </tt>
<a name="L568"></a><tt class="py-lineno">568</tt>  <tt class="py-line">        <tt class="py-name">selection</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">GetSelection</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L569"></a><tt class="py-lineno">569</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">selection</tt> <tt class="py-op">==</tt> <tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L570"></a><tt class="py-lineno">570</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-306" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-306', 'editor', 'link-18');">editor</a></tt><tt class="py-op">.</tt><tt id="link-307" class="py-name"><a title="Priithon.py.editor.Editor.setFocus
Priithon.py.shell.Shell.setFocus" class="py-name" href="#" onclick="return doclink('link-307', 'setFocus', 'link-79');">setFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L571"></a><tt class="py-lineno">571</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L572"></a><tt class="py-lineno">572</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-308" class="py-name"><a title="Priithon.py.shell
Priithon.usefulX.shell" class="py-name" href="#" onclick="return doclink('link-308', 'shell', 'link-8');">shell</a></tt><tt class="py-op">.</tt><tt id="link-309" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-309', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L573"></a><tt class="py-lineno">573</tt>  <tt class="py-line"> </tt>
<a name="L574"></a><tt class="py-lineno">574</tt>  <tt class="py-line"> </tt>
<a name="Editor"></a><div id="Editor-def"><a name="L575"></a><tt class="py-lineno">575</tt> <a class="py-toggle" href="#" id="Editor-toggle" onclick="return toggle('Editor');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html">Editor</a><tt class="py-op">:</tt> </tt>
</div><div id="Editor-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Editor-expanded"><a name="L576"></a><tt class="py-lineno">576</tt>  <tt class="py-line">    <tt class="py-docstring">"""Editor having an EditWindow."""</tt> </tt>
<a name="L577"></a><tt class="py-lineno">577</tt>  <tt class="py-line"> </tt>
<a name="Editor.__init__"></a><div id="Editor.__init__-def"><a name="L578"></a><tt class="py-lineno">578</tt> <a class="py-toggle" href="#" id="Editor.__init__-toggle" onclick="return toggle('Editor.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> </tt>
<a name="L579"></a><tt class="py-lineno">579</tt>  <tt class="py-line">                 <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultSize</tt><tt class="py-op">,</tt> </tt>
<a name="L580"></a><tt class="py-lineno">580</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CLIP_CHILDREN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">SUNKEN_BORDER</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.__init__-expanded"><a name="L581"></a><tt class="py-lineno">581</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create Editor instance."""</tt> </tt>
<a name="L582"></a><tt class="py-lineno">582</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt> <tt class="py-op">=</tt> <tt id="link-310" class="py-name" targets="Class Priithon.py.editor.EditWindow=Priithon.py.editor.EditWindow-class.html,Class Priithon.py.editwindow.EditWindow=Priithon.py.editwindow.EditWindow-class.html"><a title="Priithon.py.editor.EditWindow
Priithon.py.editwindow.EditWindow" class="py-name" href="#" onclick="return doclink('link-310', 'EditWindow', 'link-310');">EditWindow</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-311" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-311', 'id', 'link-14');">id</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> <tt id="link-312" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-312', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L583"></a><tt class="py-lineno">583</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-313" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-313', 'id', 'link-14');">id</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetId</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L584"></a><tt class="py-lineno">584</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-314" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-314', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L585"></a><tt class="py-lineno">585</tt>  <tt class="py-line">        <tt class="py-comment"># Assign handlers for keyboard events.</tt> </tt>
<a name="L586"></a><tt class="py-lineno">586</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_CHAR</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-315" class="py-name" targets="Method Priithon.py.editor.Editor.OnChar()=Priithon.py.editor.Editor-class.html#OnChar,Method Priithon.py.shell.Shell.OnChar()=Priithon.py.shell.Shell-class.html#OnChar,Method Priithon.splitND.TestTransientPopup.OnChar()=Priithon.splitND.TestTransientPopup-class.html#OnChar"><a title="Priithon.py.editor.Editor.OnChar
Priithon.py.shell.Shell.OnChar
Priithon.splitND.TestTransientPopup.OnChar" class="py-name" href="#" onclick="return doclink('link-315', 'OnChar', 'link-315');">OnChar</a></tt><tt class="py-op">)</tt> </tt>
<a name="L587"></a><tt class="py-lineno">587</tt>  <tt class="py-line">        <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">EVT_KEY_DOWN</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-316" class="py-name" targets="Method Priithon.guiExceptionFrame.MyFrame.OnKeyDown()=Priithon.guiExceptionFrame.MyFrame-class.html#OnKeyDown,Method Priithon.guiInfoFrame.HtmlInfoFrame.OnKeyDown()=Priithon.guiInfoFrame.HtmlInfoFrame-class.html#OnKeyDown,Method Priithon.py.editor.Editor.OnKeyDown()=Priithon.py.editor.Editor-class.html#OnKeyDown,Method Priithon.py.shell.Shell.OnKeyDown()=Priithon.py.shell.Shell-class.html#OnKeyDown,Method Priithon.splitND.TestTransientPopup.OnKeyDown()=Priithon.splitND.TestTransientPopup-class.html#OnKeyDown,Method Priithon.splitNDcommon.spvCommon.OnKeyDown()=Priithon.splitNDcommon.spvCommon-class.html#OnKeyDown"><a title="Priithon.guiExceptionFrame.MyFrame.OnKeyDown
Priithon.guiInfoFrame.HtmlInfoFrame.OnKeyDown
Priithon.py.editor.Editor.OnKeyDown
Priithon.py.shell.Shell.OnKeyDown
Priithon.splitND.TestTransientPopup.OnKeyDown
Priithon.splitNDcommon.spvCommon.OnKeyDown" class="py-name" href="#" onclick="return doclink('link-316', 'OnKeyDown', 'link-316');">OnKeyDown</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L588"></a><tt class="py-lineno">588</tt>  <tt class="py-line"> </tt>
<a name="Editor._setBuffer"></a><div id="Editor._setBuffer-def"><a name="L589"></a><tt class="py-lineno">589</tt> <a class="py-toggle" href="#" id="Editor._setBuffer-toggle" onclick="return toggle('Editor._setBuffer');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#_setBuffer">_setBuffer</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">buffer</tt><tt class="py-op">,</tt> <tt class="py-param">text</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor._setBuffer-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor._setBuffer-expanded"><a name="L590"></a><tt class="py-lineno">590</tt>  <tt class="py-line">        <tt class="py-docstring">"""Set the editor to a buffer.  Private callback called by buffer."""</tt> </tt>
<a name="L591"></a><tt class="py-lineno">591</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-317" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-317', 'buffer', 'link-2');">buffer</a></tt> <tt class="py-op">=</tt> <tt id="link-318" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-318', 'buffer', 'link-2');">buffer</a></tt> </tt>
<a name="L592"></a><tt class="py-lineno">592</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteKeys</tt> <tt class="py-op">=</tt> <tt id="link-319" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-319', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">interp</tt><tt class="py-op">.</tt><tt id="link-320" class="py-name" targets="Method Priithon.py.interpreter.Interpreter.getAutoCompleteKeys()=Priithon.py.interpreter.Interpreter-class.html#getAutoCompleteKeys"><a title="Priithon.py.interpreter.Interpreter.getAutoCompleteKeys" class="py-name" href="#" onclick="return doclink('link-320', 'getAutoCompleteKeys', 'link-320');">getAutoCompleteKeys</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L593"></a><tt class="py-lineno">593</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-321" class="py-name" targets="Method Priithon.mmviewer.GLViewer.clearAll()=Priithon.mmviewer.GLViewer-class.html#clearAll,Method Priithon.py.editor.Editor.clearAll()=Priithon.py.editor.Editor-class.html#clearAll"><a title="Priithon.mmviewer.GLViewer.clearAll
Priithon.py.editor.Editor.clearAll" class="py-name" href="#" onclick="return doclink('link-321', 'clearAll', 'link-321');">clearAll</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L594"></a><tt class="py-lineno">594</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-322" class="py-name" targets="Method Priithon.py.editor.Editor.setText()=Priithon.py.editor.Editor-class.html#setText,Method Priithon.py.filling.FillingTree.setText()=Priithon.py.filling.FillingTree-class.html#setText"><a title="Priithon.py.editor.Editor.setText
Priithon.py.filling.FillingTree.setText" class="py-name" href="#" onclick="return doclink('link-322', 'setText', 'link-322');">setText</a></tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L595"></a><tt class="py-lineno">595</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-323" class="py-name" targets="Method Priithon.py.editor.Editor.emptyUndoBuffer()=Priithon.py.editor.Editor-class.html#emptyUndoBuffer"><a title="Priithon.py.editor.Editor.emptyUndoBuffer" class="py-name" href="#" onclick="return doclink('link-323', 'emptyUndoBuffer', 'link-323');">emptyUndoBuffer</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L596"></a><tt class="py-lineno">596</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-324" class="py-name" targets="Method Priithon.py.editor.Editor.setSavePoint()=Priithon.py.editor.Editor-class.html#setSavePoint"><a title="Priithon.py.editor.Editor.setSavePoint" class="py-name" href="#" onclick="return doclink('link-324', 'setSavePoint', 'link-324');">setSavePoint</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L597"></a><tt class="py-lineno">597</tt>  <tt class="py-line"> </tt>
<a name="Editor.destroy"></a><div id="Editor.destroy-def"><a name="L598"></a><tt class="py-lineno">598</tt> <a class="py-toggle" href="#" id="Editor.destroy-toggle" onclick="return toggle('Editor.destroy');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#destroy">destroy</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.destroy-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.destroy-expanded"><a name="L599"></a><tt class="py-lineno">599</tt>  <tt class="py-line">        <tt class="py-docstring">"""Destroy all editor objects."""</tt> </tt>
<a name="L600"></a><tt class="py-lineno">600</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L601"></a><tt class="py-lineno">601</tt>  <tt class="py-line"> </tt>
<a name="Editor.clearAll"></a><div id="Editor.clearAll-def"><a name="L602"></a><tt class="py-lineno">602</tt> <a class="py-toggle" href="#" id="Editor.clearAll-toggle" onclick="return toggle('Editor.clearAll');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#clearAll">clearAll</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.clearAll-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.clearAll-expanded"><a name="L603"></a><tt class="py-lineno">603</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">ClearAll</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L604"></a><tt class="py-lineno">604</tt>  <tt class="py-line"> </tt>
<a name="Editor.emptyUndoBuffer"></a><div id="Editor.emptyUndoBuffer-def"><a name="L605"></a><tt class="py-lineno">605</tt> <a class="py-toggle" href="#" id="Editor.emptyUndoBuffer-toggle" onclick="return toggle('Editor.emptyUndoBuffer');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#emptyUndoBuffer">emptyUndoBuffer</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.emptyUndoBuffer-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.emptyUndoBuffer-expanded"><a name="L606"></a><tt class="py-lineno">606</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">EmptyUndoBuffer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L607"></a><tt class="py-lineno">607</tt>  <tt class="py-line"> </tt>
<a name="Editor.getStatus"></a><div id="Editor.getStatus-def"><a name="L608"></a><tt class="py-lineno">608</tt> <a class="py-toggle" href="#" id="Editor.getStatus-toggle" onclick="return toggle('Editor.getStatus');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#getStatus">getStatus</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.getStatus-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.getStatus-expanded"><a name="L609"></a><tt class="py-lineno">609</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return (filepath, line, column) status tuple."""</tt> </tt>
<a name="L610"></a><tt class="py-lineno">610</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">:</tt> </tt>
<a name="L611"></a><tt class="py-lineno">611</tt>  <tt class="py-line">            <tt class="py-name">pos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurrentPos</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L612"></a><tt class="py-lineno">612</tt>  <tt class="py-line">            <tt class="py-name">line</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">LineFromPosition</tt><tt class="py-op">(</tt><tt class="py-name">pos</tt><tt class="py-op">)</tt> <tt class="py-op">+</tt> <tt class="py-number">1</tt> </tt>
<a name="L613"></a><tt class="py-lineno">613</tt>  <tt class="py-line">            <tt id="link-325" class="py-name" targets="Function Priithon.plt.interface.col()=Priithon.plt.interface-module.html#col"><a title="Priithon.plt.interface.col" class="py-name" href="#" onclick="return doclink('link-325', 'col', 'link-325');">col</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetColumn</tt><tt class="py-op">(</tt><tt class="py-name">pos</tt><tt class="py-op">)</tt> </tt>
<a name="L614"></a><tt class="py-lineno">614</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-326" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-326', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">:</tt> </tt>
<a name="L615"></a><tt class="py-lineno">615</tt>  <tt class="py-line">                <tt id="link-327" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-327', 'name', 'link-125');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-328" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-328', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">doc</tt><tt class="py-op">.</tt><tt class="py-name">filepath</tt> <tt class="py-keyword">or</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-329" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-329', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt id="link-330" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-330', 'name', 'link-125');">name</a></tt> </tt>
<a name="L616"></a><tt class="py-lineno">616</tt>  <tt class="py-line">            <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L617"></a><tt class="py-lineno">617</tt>  <tt class="py-line">                <tt id="link-331" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-331', 'name', 'link-125');">name</a></tt> <tt class="py-op">=</tt> <tt class="py-string">''</tt> </tt>
<a name="L618"></a><tt class="py-lineno">618</tt>  <tt class="py-line">            <tt class="py-name">status</tt> <tt class="py-op">=</tt> <tt class="py-op">(</tt><tt id="link-332" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-332', 'name', 'link-125');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">line</tt><tt class="py-op">,</tt> <tt id="link-333" class="py-name"><a title="Priithon.plt.interface.col" class="py-name" href="#" onclick="return doclink('link-333', 'col', 'link-325');">col</a></tt><tt class="py-op">)</tt> </tt>
<a name="L619"></a><tt class="py-lineno">619</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">status</tt> </tt>
<a name="L620"></a><tt class="py-lineno">620</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L621"></a><tt class="py-lineno">621</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">,</tt> <tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
</div><a name="L622"></a><tt class="py-lineno">622</tt>  <tt class="py-line"> </tt>
<a name="Editor.getText"></a><div id="Editor.getText-def"><a name="L623"></a><tt class="py-lineno">623</tt> <a class="py-toggle" href="#" id="Editor.getText-toggle" onclick="return toggle('Editor.getText');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#getText">getText</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.getText-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.getText-expanded"><a name="L624"></a><tt class="py-lineno">624</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return contents of editor."""</tt> </tt>
<a name="L625"></a><tt class="py-lineno">625</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetText</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L626"></a><tt class="py-lineno">626</tt>  <tt class="py-line"> </tt>
<a name="Editor.hasChanged"></a><div id="Editor.hasChanged-def"><a name="L627"></a><tt class="py-lineno">627</tt> <a class="py-toggle" href="#" id="Editor.hasChanged-toggle" onclick="return toggle('Editor.hasChanged');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#hasChanged">hasChanged</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.hasChanged-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.hasChanged-expanded"><a name="L628"></a><tt class="py-lineno">628</tt>  <tt class="py-line">        <tt class="py-docstring">"""Return True if contents have changed."""</tt> </tt>
<a name="L629"></a><tt class="py-lineno">629</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetModify</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L630"></a><tt class="py-lineno">630</tt>  <tt class="py-line"> </tt>
<a name="Editor.setFocus"></a><div id="Editor.setFocus-def"><a name="L631"></a><tt class="py-lineno">631</tt> <a class="py-toggle" href="#" id="Editor.setFocus-toggle" onclick="return toggle('Editor.setFocus');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#setFocus">setFocus</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.setFocus-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.setFocus-expanded"><a name="L632"></a><tt class="py-lineno">632</tt>  <tt class="py-line">        <tt class="py-docstring">"""Set the input focus to the editor window."""</tt> </tt>
<a name="L633"></a><tt class="py-lineno">633</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-334" class="py-name"><a title="Priithon.py.editor.EditorShellNotebook.SetFocus" class="py-name" href="#" onclick="return doclink('link-334', 'SetFocus', 'link-161');">SetFocus</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L634"></a><tt class="py-lineno">634</tt>  <tt class="py-line"> </tt>
<a name="Editor.setSavePoint"></a><div id="Editor.setSavePoint-def"><a name="L635"></a><tt class="py-lineno">635</tt> <a class="py-toggle" href="#" id="Editor.setSavePoint-toggle" onclick="return toggle('Editor.setSavePoint');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#setSavePoint">setSavePoint</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.setSavePoint-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.setSavePoint-expanded"><a name="L636"></a><tt class="py-lineno">636</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">SetSavePoint</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L637"></a><tt class="py-lineno">637</tt>  <tt class="py-line"> </tt>
<a name="Editor.setText"></a><div id="Editor.setText-def"><a name="L638"></a><tt class="py-lineno">638</tt> <a class="py-toggle" href="#" id="Editor.setText-toggle" onclick="return toggle('Editor.setText');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#setText">setText</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">text</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.setText-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.setText-expanded"><a name="L639"></a><tt class="py-lineno">639</tt>  <tt class="py-line">        <tt class="py-docstring">"""Set contents of editor."""</tt> </tt>
<a name="L640"></a><tt class="py-lineno">640</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt id="link-335" class="py-name" targets="Method Priithon.py.filling.FillingText.SetText()=Priithon.py.filling.FillingText-class.html#SetText"><a title="Priithon.py.filling.FillingText.SetText" class="py-name" href="#" onclick="return doclink('link-335', 'SetText', 'link-335');">SetText</a></tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
</div><a name="L641"></a><tt class="py-lineno">641</tt>  <tt class="py-line"> </tt>
<a name="Editor.OnChar"></a><div id="Editor.OnChar-def"><a name="L642"></a><tt class="py-lineno">642</tt> <a class="py-toggle" href="#" id="Editor.OnChar-toggle" onclick="return toggle('Editor.OnChar');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#OnChar">OnChar</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.OnChar-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.OnChar-expanded"><a name="L643"></a><tt class="py-lineno">643</tt>  <tt class="py-line">        <tt class="py-docstring">"""Keypress event handler.</tt> </tt>
<a name="L644"></a><tt class="py-lineno">644</tt>  <tt class="py-line"><tt class="py-docstring">        </tt> </tt>
<a name="L645"></a><tt class="py-lineno">645</tt>  <tt class="py-line"><tt class="py-docstring">        Only receives an event if OnKeyDown calls event.Skip() for the</tt> </tt>
<a name="L646"></a><tt class="py-lineno">646</tt>  <tt class="py-line"><tt class="py-docstring">        corresponding event."""</tt> </tt>
<a name="L647"></a><tt class="py-lineno">647</tt>  <tt class="py-line"> </tt>
<a name="L648"></a><tt class="py-lineno">648</tt>  <tt class="py-line">        <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">KeyCode</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L649"></a><tt class="py-lineno">649</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteKeys</tt><tt class="py-op">:</tt> </tt>
<a name="L650"></a><tt class="py-lineno">650</tt>  <tt class="py-line">            <tt class="py-comment"># Usually the dot (period) key activates auto completion.</tt> </tt>
<a name="L651"></a><tt class="py-lineno">651</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>  </tt>
<a name="L652"></a><tt class="py-lineno">652</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompCancel</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L653"></a><tt class="py-lineno">653</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">ReplaceSelection</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> </tt>
<a name="L654"></a><tt class="py-lineno">654</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AddText</tt><tt class="py-op">(</tt><tt class="py-name">chr</tt><tt class="py-op">(</tt><tt class="py-name">key</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L655"></a><tt class="py-lineno">655</tt>  <tt class="py-line">            <tt class="py-name">text</tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurLine</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L656"></a><tt class="py-lineno">656</tt>  <tt class="py-line">            <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-name">pos</tt><tt class="py-op">]</tt> </tt>
<a name="L657"></a><tt class="py-lineno">657</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoComplete</tt><tt class="py-op">:</tt>  </tt>
<a name="L658"></a><tt class="py-lineno">658</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-336" class="py-name" targets="Method Priithon.py.editor.Editor.autoCompleteShow()=Priithon.py.editor.Editor-class.html#autoCompleteShow,Method Priithon.py.shell.Shell.autoCompleteShow()=Priithon.py.shell.Shell-class.html#autoCompleteShow"><a title="Priithon.py.editor.Editor.autoCompleteShow
Priithon.py.shell.Shell.autoCompleteShow" class="py-name" href="#" onclick="return doclink('link-336', 'autoCompleteShow', 'link-336');">autoCompleteShow</a></tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L659"></a><tt class="py-lineno">659</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">key</tt> <tt class="py-op">==</tt> <tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-string">'('</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L660"></a><tt class="py-lineno">660</tt>  <tt class="py-line">            <tt class="py-comment"># The left paren activates a call tip and cancels an</tt> </tt>
<a name="L661"></a><tt class="py-lineno">661</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-comment"># active auto completion.</tt> </tt>
<a name="L662"></a><tt class="py-lineno">662</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt>  </tt>
<a name="L663"></a><tt class="py-lineno">663</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompCancel</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L664"></a><tt class="py-lineno">664</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">ReplaceSelection</tt><tt class="py-op">(</tt><tt class="py-string">''</tt><tt class="py-op">)</tt> </tt>
<a name="L665"></a><tt class="py-lineno">665</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AddText</tt><tt class="py-op">(</tt><tt class="py-string">'('</tt><tt class="py-op">)</tt> </tt>
<a name="L666"></a><tt class="py-lineno">666</tt>  <tt class="py-line">            <tt class="py-name">text</tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurLine</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L667"></a><tt class="py-lineno">667</tt>  <tt class="py-line">            <tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">text</tt><tt class="py-op">[</tt><tt class="py-op">:</tt><tt class="py-name">pos</tt><tt class="py-op">]</tt> </tt>
<a name="L668"></a><tt class="py-lineno">668</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-337" class="py-name" targets="Method Priithon.py.editor.Editor.autoCallTipShow()=Priithon.py.editor.Editor-class.html#autoCallTipShow,Method Priithon.py.shell.Shell.autoCallTipShow()=Priithon.py.shell.Shell-class.html#autoCallTipShow"><a title="Priithon.py.editor.Editor.autoCallTipShow
Priithon.py.shell.Shell.autoCallTipShow" class="py-name" href="#" onclick="return doclink('link-337', 'autoCallTipShow', 'link-337');">autoCallTipShow</a></tt><tt class="py-op">(</tt><tt class="py-name">text</tt><tt class="py-op">)</tt> </tt>
<a name="L669"></a><tt class="py-lineno">669</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L670"></a><tt class="py-lineno">670</tt>  <tt class="py-line">            <tt class="py-comment"># Allow the normal event handling to take place.</tt> </tt>
<a name="L671"></a><tt class="py-lineno">671</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L672"></a><tt class="py-lineno">672</tt>  <tt class="py-line"> </tt>
<a name="Editor.OnKeyDown"></a><div id="Editor.OnKeyDown-def"><a name="L673"></a><tt class="py-lineno">673</tt> <a class="py-toggle" href="#" id="Editor.OnKeyDown-toggle" onclick="return toggle('Editor.OnKeyDown');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#OnKeyDown">OnKeyDown</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">event</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.OnKeyDown-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.OnKeyDown-expanded"><a name="L674"></a><tt class="py-lineno">674</tt>  <tt class="py-line">        <tt class="py-docstring">"""Key down event handler."""</tt> </tt>
<a name="L675"></a><tt class="py-lineno">675</tt>  <tt class="py-line"> </tt>
<a name="L676"></a><tt class="py-lineno">676</tt>  <tt class="py-line">        <tt class="py-name">key</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">KeyCode</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L677"></a><tt class="py-lineno">677</tt>  <tt class="py-line">        <tt class="py-comment"># If the auto-complete window is up let it do its thing.</tt> </tt>
<a name="L678"></a><tt class="py-lineno">678</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L679"></a><tt class="py-lineno">679</tt>  <tt class="py-line">            <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L680"></a><tt class="py-lineno">680</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L681"></a><tt class="py-lineno">681</tt>  <tt class="py-line">        <tt class="py-name">controlDown</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">ControlDown</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L682"></a><tt class="py-lineno">682</tt>  <tt class="py-line">        <tt class="py-name">altDown</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">AltDown</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L683"></a><tt class="py-lineno">683</tt>  <tt class="py-line">        <tt class="py-name">shiftDown</tt> <tt class="py-op">=</tt> <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">ShiftDown</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L684"></a><tt class="py-lineno">684</tt>  <tt class="py-line">        <tt class="py-comment"># Let Ctrl-Alt-* get handled normally.</tt> </tt>
<a name="L685"></a><tt class="py-lineno">685</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">if</tt> <tt class="py-name">controlDown</tt> <tt class="py-keyword">and</tt> <tt class="py-name">altDown</tt><tt class="py-op">:</tt> </tt>
<a name="L686"></a><tt class="py-lineno">686</tt>  <tt class="py-line">            <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L687"></a><tt class="py-lineno">687</tt>  <tt class="py-line">        <tt class="py-comment"># Increase font size.</tt> </tt>
<a name="L688"></a><tt class="py-lineno">688</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">elif</tt> <tt class="py-name">controlDown</tt> <tt class="py-keyword">and</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-string">']'</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L689"></a><tt class="py-lineno">689</tt>  <tt class="py-line">            <tt id="link-338" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-338', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-339" class="py-name"><a title="Priithon.py.dispatcher.send" class="py-name" href="#" onclick="return doclink('link-339', 'send', 'link-229');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontIncrease'</tt><tt class="py-op">)</tt> </tt>
<a name="L690"></a><tt class="py-lineno">690</tt>  <tt class="py-line">        <tt class="py-comment"># Decrease font size.</tt> </tt>
<a name="L691"></a><tt class="py-lineno">691</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">elif</tt> <tt class="py-name">controlDown</tt> <tt class="py-keyword">and</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-string">'['</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L692"></a><tt class="py-lineno">692</tt>  <tt class="py-line">            <tt id="link-340" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-340', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-341" class="py-name"><a title="Priithon.py.dispatcher.send" class="py-name" href="#" onclick="return doclink('link-341', 'send', 'link-229');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontDecrease'</tt><tt class="py-op">)</tt> </tt>
<a name="L693"></a><tt class="py-lineno">693</tt>  <tt class="py-line">        <tt class="py-comment"># Default font size.</tt> </tt>
<a name="L694"></a><tt class="py-lineno">694</tt>  <tt class="py-line"><tt class="py-comment"></tt>        <tt class="py-keyword">elif</tt> <tt class="py-name">controlDown</tt> <tt class="py-keyword">and</tt> <tt class="py-name">key</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-name">ord</tt><tt class="py-op">(</tt><tt class="py-string">'='</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L695"></a><tt class="py-lineno">695</tt>  <tt class="py-line">            <tt id="link-342" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-342', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-343" class="py-name"><a title="Priithon.py.dispatcher.send" class="py-name" href="#" onclick="return doclink('link-343', 'send', 'link-229');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'FontDefault'</tt><tt class="py-op">)</tt> </tt>
<a name="L696"></a><tt class="py-lineno">696</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L697"></a><tt class="py-lineno">697</tt>  <tt class="py-line">            <tt class="py-name">event</tt><tt class="py-op">.</tt><tt class="py-name">Skip</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L698"></a><tt class="py-lineno">698</tt>  <tt class="py-line"> </tt>
<a name="Editor.autoCompleteShow"></a><div id="Editor.autoCompleteShow-def"><a name="L699"></a><tt class="py-lineno">699</tt> <a class="py-toggle" href="#" id="Editor.autoCompleteShow-toggle" onclick="return toggle('Editor.autoCompleteShow');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#autoCompleteShow">autoCompleteShow</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.autoCompleteShow-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.autoCompleteShow-expanded"><a name="L700"></a><tt class="py-lineno">700</tt>  <tt class="py-line">        <tt class="py-docstring">"""Display auto-completion popup list."""</tt> </tt>
<a name="L701"></a><tt class="py-lineno">701</tt>  <tt class="py-line">        <tt class="py-name">list</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-344" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-344', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">interp</tt><tt class="py-op">.</tt><tt id="link-345" class="py-name" targets="Method Priithon.py.interpreter.Interpreter.getAutoCompleteList()=Priithon.py.interpreter.Interpreter-class.html#getAutoCompleteList,Function Priithon.py.introspect.getAutoCompleteList()=Priithon.py.introspect-module.html#getAutoCompleteList"><a title="Priithon.py.interpreter.Interpreter.getAutoCompleteList
Priithon.py.introspect.getAutoCompleteList" class="py-name" href="#" onclick="return doclink('link-345', 'getAutoCompleteList', 'link-345');">getAutoCompleteList</a></tt><tt class="py-op">(</tt><tt class="py-name">command</tt><tt class="py-op">,</tt>  </tt>
<a name="L702"></a><tt class="py-lineno">702</tt>  <tt class="py-line">                    <tt class="py-name">includeMagic</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeMagic</tt><tt class="py-op">,</tt>  </tt>
<a name="L703"></a><tt class="py-lineno">703</tt>  <tt class="py-line">                    <tt class="py-name">includeSingle</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeSingle</tt><tt class="py-op">,</tt>  </tt>
<a name="L704"></a><tt class="py-lineno">704</tt>  <tt class="py-line">                    <tt class="py-name">includeDouble</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteIncludeDouble</tt><tt class="py-op">,</tt> </tt>
<a name="L705"></a><tt class="py-lineno">705</tt>  <tt class="py-line">                    <tt class="py-name">sortCaseSensitive</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoCompleteSortCaseSensitive</tt><tt class="py-op">)</tt> </tt>
<a name="L706"></a><tt class="py-lineno">706</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">list</tt><tt class="py-op">:</tt> </tt>
<a name="L707"></a><tt class="py-lineno">707</tt>  <tt class="py-line">            <tt class="py-name">options</tt> <tt class="py-op">=</tt> <tt class="py-string">' '</tt><tt class="py-op">.</tt><tt class="py-name">join</tt><tt class="py-op">(</tt><tt class="py-name">list</tt><tt class="py-op">)</tt> </tt>
<a name="L708"></a><tt class="py-lineno">708</tt>  <tt class="py-line">            <tt class="py-name">offset</tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt> </tt>
<a name="L709"></a><tt class="py-lineno">709</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AutoCompShow</tt><tt class="py-op">(</tt><tt class="py-name">offset</tt><tt class="py-op">,</tt> <tt class="py-name">options</tt><tt class="py-op">)</tt> </tt>
</div><a name="L710"></a><tt class="py-lineno">710</tt>  <tt class="py-line"> </tt>
<a name="Editor.autoCallTipShow"></a><div id="Editor.autoCallTipShow-def"><a name="L711"></a><tt class="py-lineno">711</tt> <a class="py-toggle" href="#" id="Editor.autoCallTipShow-toggle" onclick="return toggle('Editor.autoCallTipShow');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.Editor-class.html#autoCallTipShow">autoCallTipShow</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">command</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Editor.autoCallTipShow-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Editor.autoCallTipShow-expanded"><a name="L712"></a><tt class="py-lineno">712</tt>  <tt class="py-line">        <tt class="py-docstring">"""Display argument spec and docstring in a popup window."""</tt> </tt>
<a name="L713"></a><tt class="py-lineno">713</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">CallTipActive</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L714"></a><tt class="py-lineno">714</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">CallTipCancel</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L715"></a><tt class="py-lineno">715</tt>  <tt class="py-line">        <tt class="py-op">(</tt><tt id="link-346" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-346', 'name', 'link-125');">name</a></tt><tt class="py-op">,</tt> <tt class="py-name">argspec</tt><tt class="py-op">,</tt> <tt class="py-name">tip</tt><tt class="py-op">)</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-347" class="py-name"><a title="Priithon.py.buffer" class="py-name" href="#" onclick="return doclink('link-347', 'buffer', 'link-2');">buffer</a></tt><tt class="py-op">.</tt><tt class="py-name">interp</tt><tt class="py-op">.</tt><tt id="link-348" class="py-name" targets="Method Priithon.py.interpreter.Interpreter.getCallTip()=Priithon.py.interpreter.Interpreter-class.html#getCallTip,Function Priithon.py.introspect.getCallTip()=Priithon.py.introspect-module.html#getCallTip"><a title="Priithon.py.interpreter.Interpreter.getCallTip
Priithon.py.introspect.getCallTip" class="py-name" href="#" onclick="return doclink('link-348', 'getCallTip', 'link-348');">getCallTip</a></tt><tt class="py-op">(</tt><tt class="py-name">command</tt><tt class="py-op">)</tt> </tt>
<a name="L716"></a><tt class="py-lineno">716</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">tip</tt><tt class="py-op">:</tt> </tt>
<a name="L717"></a><tt class="py-lineno">717</tt>  <tt class="py-line">            <tt id="link-349" class="py-name"><a title="Priithon.py.dispatcher" class="py-name" href="#" onclick="return doclink('link-349', 'dispatcher', 'link-5');">dispatcher</a></tt><tt class="py-op">.</tt><tt id="link-350" class="py-name"><a title="Priithon.py.dispatcher.send" class="py-name" href="#" onclick="return doclink('link-350', 'send', 'link-229');">send</a></tt><tt class="py-op">(</tt><tt class="py-name">signal</tt><tt class="py-op">=</tt><tt class="py-string">'Shell.calltip'</tt><tt class="py-op">,</tt> <tt class="py-name">sender</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">calltip</tt><tt class="py-op">=</tt><tt class="py-name">tip</tt><tt class="py-op">)</tt> </tt>
<a name="L718"></a><tt class="py-lineno">718</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">autoCallTip</tt><tt class="py-op">:</tt> </tt>
<a name="L719"></a><tt class="py-lineno">719</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> </tt>
<a name="L720"></a><tt class="py-lineno">720</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">argspec</tt><tt class="py-op">:</tt> </tt>
<a name="L721"></a><tt class="py-lineno">721</tt>  <tt class="py-line">            <tt class="py-name">startpos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurrentPos</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L722"></a><tt class="py-lineno">722</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">AddText</tt><tt class="py-op">(</tt><tt class="py-name">argspec</tt> <tt class="py-op">+</tt> <tt class="py-string">')'</tt><tt class="py-op">)</tt> </tt>
<a name="L723"></a><tt class="py-lineno">723</tt>  <tt class="py-line">            <tt class="py-name">endpos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurrentPos</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L724"></a><tt class="py-lineno">724</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">SetSelection</tt><tt class="py-op">(</tt><tt class="py-name">endpos</tt><tt class="py-op">,</tt> <tt class="py-name">startpos</tt><tt class="py-op">)</tt> </tt>
<a name="L725"></a><tt class="py-lineno">725</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">tip</tt><tt class="py-op">:</tt> </tt>
<a name="L726"></a><tt class="py-lineno">726</tt>  <tt class="py-line">            <tt class="py-name">curpos</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetCurrentPos</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L727"></a><tt class="py-lineno">727</tt>  <tt class="py-line">            <tt id="link-351" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-351', 'size', 'link-16');">size</a></tt> <tt class="py-op">=</tt> <tt class="py-name">len</tt><tt class="py-op">(</tt><tt id="link-352" class="py-name"><a title="Priithon.py.crust.Crust.name
Priithon.py.crust.CrustFrame.name
Priithon.py.filling.Filling.name
Priithon.py.filling.FillingFrame.name
Priithon.py.filling.FillingText.name
Priithon.py.filling.FillingTree.name
Priithon.py.shell.Shell.name
Priithon.py.shell.ShellFacade.name
Priithon.py.shell.ShellFrame.name" class="py-name" href="#" onclick="return doclink('link-352', 'name', 'link-125');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L728"></a><tt class="py-lineno">728</tt>  <tt class="py-line">            <tt class="py-name">tippos</tt> <tt class="py-op">=</tt> <tt class="py-name">curpos</tt> <tt class="py-op">-</tt> <tt class="py-op">(</tt><tt id="link-353" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-353', 'size', 'link-16');">size</a></tt> <tt class="py-op">+</tt> <tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L729"></a><tt class="py-lineno">729</tt>  <tt class="py-line">            <tt class="py-name">fallback</tt> <tt class="py-op">=</tt> <tt class="py-name">curpos</tt> <tt class="py-op">-</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">GetColumn</tt><tt class="py-op">(</tt><tt class="py-name">curpos</tt><tt class="py-op">)</tt> </tt>
<a name="L730"></a><tt class="py-lineno">730</tt>  <tt class="py-line">            <tt class="py-comment"># In case there isn't enough room, only go back to the</tt> </tt>
<a name="L731"></a><tt class="py-lineno">731</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-comment"># fallback.</tt> </tt>
<a name="L732"></a><tt class="py-lineno">732</tt>  <tt class="py-line"><tt class="py-comment"></tt>            <tt class="py-name">tippos</tt> <tt class="py-op">=</tt> <tt id="link-354" class="py-name" targets="Function Priithon.useful.max()=Priithon.useful-module.html#max"><a title="Priithon.useful.max" class="py-name" href="#" onclick="return doclink('link-354', 'max', 'link-354');">max</a></tt><tt class="py-op">(</tt><tt class="py-name">tippos</tt><tt class="py-op">,</tt> <tt class="py-name">fallback</tt><tt class="py-op">)</tt> </tt>
<a name="L733"></a><tt class="py-lineno">733</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">CallTipShow</tt><tt class="py-op">(</tt><tt class="py-name">tippos</tt><tt class="py-op">,</tt> <tt class="py-name">tip</tt><tt class="py-op">)</tt> </tt>
<a name="L734"></a><tt class="py-lineno">734</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">window</tt><tt class="py-op">.</tt><tt class="py-name">CallTipSetHighlight</tt><tt class="py-op">(</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> <tt id="link-355" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-355', 'size', 'link-16');">size</a></tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L735"></a><tt class="py-lineno">735</tt>  <tt class="py-line"> </tt>
<a name="L736"></a><tt class="py-lineno">736</tt>  <tt class="py-line"> </tt>
<a name="EditWindow"></a><div id="EditWindow-def"><a name="L737"></a><tt class="py-lineno">737</tt> <a class="py-toggle" href="#" id="EditWindow-toggle" onclick="return toggle('EditWindow');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.EditWindow-class.html">EditWindow</a><tt class="py-op">(</tt><tt class="py-base-class">editwindow</tt><tt class="py-op">.</tt><tt class="py-base-class">EditWindow</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="EditWindow-expanded"><a name="L738"></a><tt class="py-lineno">738</tt>  <tt class="py-line">    <tt class="py-docstring">"""EditWindow based on StyledTextCtrl."""</tt> </tt>
<a name="L739"></a><tt class="py-lineno">739</tt>  <tt class="py-line"> </tt>
<a name="EditWindow.__init__"></a><div id="EditWindow.__init__-def"><a name="L740"></a><tt class="py-lineno">740</tt> <a class="py-toggle" href="#" id="EditWindow.__init__-toggle" onclick="return toggle('EditWindow.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.EditWindow-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">editor</tt><tt class="py-op">,</tt> <tt class="py-param">parent</tt><tt class="py-op">,</tt> <tt class="py-param">id</tt><tt class="py-op">=</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">,</tt> <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> </tt>
<a name="L741"></a><tt class="py-lineno">741</tt>  <tt class="py-line">                 <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultSize</tt><tt class="py-op">,</tt> </tt>
<a name="L742"></a><tt class="py-lineno">742</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CLIP_CHILDREN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">SUNKEN_BORDER</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="EditWindow.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="EditWindow.__init__-expanded"><a name="L743"></a><tt class="py-lineno">743</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create EditWindow instance."""</tt> </tt>
<a name="L744"></a><tt class="py-lineno">744</tt>  <tt class="py-line">        <tt id="link-356" class="py-name"><a title="Priithon.py.editwindow" class="py-name" href="#" onclick="return doclink('link-356', 'editwindow', 'link-6');">editwindow</a></tt><tt class="py-op">.</tt><tt id="link-357" class="py-name"><a title="Priithon.py.editor.EditWindow
Priithon.py.editwindow.EditWindow" class="py-name" href="#" onclick="return doclink('link-357', 'EditWindow', 'link-310');">EditWindow</a></tt><tt class="py-op">.</tt><tt id="link-358" class="py-name"><a title="Priithon.DragAndDrop.ClipTextPanel.__init__
Priithon.DragAndDrop.FileDropPanel.__init__
Priithon.DragAndDrop.MyFileDropTarget.__init__
Priithon.Mrc.Mrc.__init__
Priithon.Mrc.Mrc2.__init__
Priithon.Scientific_IO_TextFile.TextFile.__init__
Priithon.buttonbox._buttonBox.__init__
Priithon.fileDropPopup.FileDropTarget.__init__
Priithon.gridviewer.ArrayGrid.__init__
Priithon.gridviewer.HugeTable.__init__
Priithon.gridviewer.HugeTableGrid.__init__
Priithon.guiExceptionFrame.MyFrame.__init__
Priithon.guiInfoFrame.HtmlInfoFrame.__init__
Priithon.guiInfoFrame.HtmlWindow.__init__
Priithon.guiParams.guiParams.__init__
Priithon.histogram.HistogramCanvas.__init__
Priithon.histogram.MyCanvasBase.__init__
Priithon.mmviewer.GLViewer.__init__
Priithon.mockNDarray.mockNDarray.__init__
Priithon.ndarray_meta.nd_meta_attribute.__init__
Priithon.plt.dumb_shelve.DbfilenameShelf.__init__
Priithon.plt.dumbdbm_patched._Database.__init__
Priithon.plt.plot_objects.axis_object.__init__
Priithon.plt.plot_objects.axis_window.__init__
Priithon.plt.plot_objects.border_object.__init__
Priithon.plt.plot_objects.graphic_list.__init__
Priithon.plt.plot_objects.image_object.__init__
Priithon.plt.plot_objects.legend_object.__init__
Priithon.plt.plot_objects.line_object.__init__
Priithon.plt.plot_objects.poly_line.__init__
Priithon.plt.plot_objects.poly_marker.__init__
Priithon.plt.plot_objects.poly_points.__init__
Priithon.plt.plot_objects.text_object.__init__
Priithon.plt.plot_objects.text_window.__init__
Priithon.plt.plot_utility.box_object.__init__
Priithon.plt.plot_utility.point_object.__init__
Priithon.plt.plot_utility.property_object.__init__
Priithon.plt.wxplt.graph_printout.__init__
Priithon.plt.wxplt.plot_canvas.__init__
Priithon.plt.wxplt.plot_frame.__init__
Priithon.py.PyAlaCarte.App.__init__
Priithon.py.PyAlaMode.App.__init__
Priithon.py.PyAlaModeTest.App.__init__
Priithon.py.buffer.Buffer.__init__
Priithon.py.crust.Calltip.__init__
Priithon.py.crust.Crust.__init__
Priithon.py.crust.CrustFrame.__init__
Priithon.py.crust.DispatcherListing.__init__
Priithon.py.crust.Display.__init__
Priithon.py.crust.SessionListing.__init__
Priithon.py.dispatcher.BoundMethodWeakref.__init__
Priithon.py.dispatcher.DispatcherError.__init__
Priithon.py.document.Document.__init__
Priithon.py.editor.DialogResults.__init__
Priithon.py.editor.EditWindow.__init__
Priithon.py.editor.Editor.__init__
Priithon.py.editor.EditorFrame.__init__
Priithon.py.editor.EditorNotebook.__init__
Priithon.py.editor.EditorNotebookFrame.__init__
Priithon.py.editor.EditorShellNotebook.__init__
Priithon.py.editor.EditorShellNotebookFrame.__init__
Priithon.py.editwindow.EditWindow.__init__
Priithon.py.filling.Filling.__init__
Priithon.py.filling.FillingFrame.__init__
Priithon.py.filling.FillingText.__init__
Priithon.py.filling.FillingTree.__init__
Priithon.py.frame.Frame.__init__
Priithon.py.interpreter.Interpreter.__init__
Priithon.py.interpreter.InterpreterAlaCarte.__init__
Priithon.py.pseudo.PseudoFile.__init__
Priithon.py.pseudo.PseudoFileErr.__init__
Priithon.py.pseudo.PseudoFileIn.__init__
Priithon.py.pseudo.PseudoFileOut.__init__
Priithon.py.pseudo.PseudoKeyword.__init__
Priithon.py.shell.Shell.__init__
Priithon.py.shell.ShellFacade.__init__
Priithon.py.shell.ShellFrame.__init__
Priithon.readerSPE.File.__init__
Priithon.scalePanel.scalePanel.__init__
Priithon.splitND.TestTransientPopup.__init__
Priithon.splitND.spv.__init__
Priithon.splitND2.spv.__init__
Priithon.splitNDcommon.spvCommon.__init__
Priithon.syncViewersGui.syncViewersGui.__init__
Priithon.useful.deco_memoized.__init__
Priithon.usefulX._listArrayViewer.__init__
Priithon.usefulX._listFilesViewer.MyFileDropTarget.__init__
Priithon.usefulX._listFilesViewer.__init__
Priithon.viewer.GLViewer.__init__
Priithon.viewer2.GLViewer2.__init__
Priithon.viewerCommon.GLViewerCommon.__init__
Priithon.viewerRubberbandMode.viewerRubberbandMode.__init__
Priithon.wxAsyncDispatcher.DispatcherConnection.__init__
Priithon.wxAsyncDispatcher.DispatcherServer.__init__
Priithon.wxAsyncDispatcher.MainWindow.__init__
Priithon.wxPyPlot.FloatDCWrapper.__init__
Priithon.wxPyPlot.PlotCanvas.__init__
Priithon.wxPyPlot.PlotGraphics.__init__
Priithon.wxPyPlot.PolyLine.__init__
Priithon.wxPyPlot.PolyMarker.__init__
Priithon.wxPyPlot.PolyPoints.__init__
Priithon.wxPyPlot.plot_printout.__init__
Priithon.zslider.ZSlider.__init__" class="py-name" href="#" onclick="return doclink('link-358', '__init__', 'link-13');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-359" class="py-name"><a title="Priithon.py.buffer.Buffer.id" class="py-name" href="#" onclick="return doclink('link-359', 'id', 'link-14');">id</a></tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> <tt id="link-360" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-360', 'size', 'link-16');">size</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L745"></a><tt class="py-lineno">745</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-361" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-361', 'editor', 'link-18');">editor</a></tt> <tt class="py-op">=</tt> <tt id="link-362" class="py-name"><a title="Priithon.py.editor
Priithon.usefulX.editor" class="py-name" href="#" onclick="return doclink('link-362', 'editor', 'link-18');">editor</a></tt> </tt>
</div></div><a name="L746"></a><tt class="py-lineno">746</tt>  <tt class="py-line"> </tt>
<a name="L747"></a><tt class="py-lineno">747</tt>  <tt class="py-line"> </tt>
<a name="DialogResults"></a><div id="DialogResults-def"><a name="L748"></a><tt class="py-lineno">748</tt> <a class="py-toggle" href="#" id="DialogResults-toggle" onclick="return toggle('DialogResults');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="Priithon.py.editor.DialogResults-class.html">DialogResults</a><tt class="py-op">:</tt> </tt>
</div><div id="DialogResults-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="DialogResults-expanded"><a name="L749"></a><tt class="py-lineno">749</tt>  <tt class="py-line">    <tt class="py-docstring">"""DialogResults class."""</tt> </tt>
<a name="L750"></a><tt class="py-lineno">750</tt>  <tt class="py-line"> </tt>
<a name="DialogResults.__init__"></a><div id="DialogResults.__init__-def"><a name="L751"></a><tt class="py-lineno">751</tt> <a class="py-toggle" href="#" id="DialogResults.__init__-toggle" onclick="return toggle('DialogResults.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.DialogResults-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">returned</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DialogResults.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DialogResults.__init__-expanded"><a name="L752"></a><tt class="py-lineno">752</tt>  <tt class="py-line">        <tt class="py-docstring">"""Create wrapper for results returned by dialog."""</tt> </tt>
<a name="L753"></a><tt class="py-lineno">753</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">returned</tt> <tt class="py-op">=</tt> <tt class="py-name">returned</tt> </tt>
<a name="L754"></a><tt class="py-lineno">754</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt> <tt class="py-op">=</tt> <tt class="py-name">returned</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_OK</tt><tt class="py-op">,</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_YES</tt><tt class="py-op">)</tt> </tt>
<a name="L755"></a><tt class="py-lineno">755</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">text</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-363" class="py-name" targets="Method Priithon.py.editor.DialogResults._asString()=Priithon.py.editor.DialogResults-class.html#_asString"><a title="Priithon.py.editor.DialogResults._asString" class="py-name" href="#" onclick="return doclink('link-363', '_asString', 'link-363');">_asString</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L756"></a><tt class="py-lineno">756</tt>  <tt class="py-line">         </tt>
<a name="L757"></a><tt class="py-lineno">757</tt>  <tt class="py-line"> </tt>
<a name="DialogResults.__repr__"></a><div id="DialogResults.__repr__-def"><a name="L758"></a><tt class="py-lineno">758</tt> <a class="py-toggle" href="#" id="DialogResults.__repr__-toggle" onclick="return toggle('DialogResults.__repr__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.DialogResults-class.html#__repr__">__repr__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DialogResults.__repr__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DialogResults.__repr__-expanded"><a name="L759"></a><tt class="py-lineno">759</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">__dict__</tt><tt class="py-op">)</tt> </tt>
</div><a name="L760"></a><tt class="py-lineno">760</tt>  <tt class="py-line"> </tt>
<a name="DialogResults._asString"></a><div id="DialogResults._asString-def"><a name="L761"></a><tt class="py-lineno">761</tt> <a class="py-toggle" href="#" id="DialogResults._asString-toggle" onclick="return toggle('DialogResults._asString');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor.DialogResults-class.html#_asString">_asString</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="DialogResults._asString-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="DialogResults._asString-expanded"><a name="L762"></a><tt class="py-lineno">762</tt>  <tt class="py-line">        <tt class="py-name">returned</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">returned</tt> </tt>
<a name="L763"></a><tt class="py-lineno">763</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">returned</tt> <tt class="py-op">==</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_OK</tt><tt class="py-op">:</tt> </tt>
<a name="L764"></a><tt class="py-lineno">764</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"Ok"</tt> </tt>
<a name="L765"></a><tt class="py-lineno">765</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">returned</tt> <tt class="py-op">==</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_CANCEL</tt><tt class="py-op">:</tt> </tt>
<a name="L766"></a><tt class="py-lineno">766</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"Cancel"</tt> </tt>
<a name="L767"></a><tt class="py-lineno">767</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">returned</tt> <tt class="py-op">==</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_YES</tt><tt class="py-op">:</tt> </tt>
<a name="L768"></a><tt class="py-lineno">768</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"Yes"</tt> </tt>
<a name="L769"></a><tt class="py-lineno">769</tt>  <tt class="py-line">        <tt class="py-keyword">elif</tt> <tt class="py-name">returned</tt> <tt class="py-op">==</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ID_NO</tt><tt class="py-op">:</tt> </tt>
<a name="L770"></a><tt class="py-lineno">770</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-string">"No"</tt> </tt>
</div></div><a name="L771"></a><tt class="py-lineno">771</tt>  <tt class="py-line"> </tt>
<a name="L772"></a><tt class="py-lineno">772</tt>  <tt class="py-line"> </tt>
<a name="fileDialog"></a><div id="fileDialog-def"><a name="L773"></a><tt class="py-lineno">773</tt> <a class="py-toggle" href="#" id="fileDialog-toggle" onclick="return toggle('fileDialog');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#fileDialog">fileDialog</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'Open'</tt><tt class="py-op">,</tt> <tt class="py-param">directory</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> </tt>
<a name="L774"></a><tt class="py-lineno">774</tt>  <tt class="py-line">               <tt class="py-param">wildcard</tt><tt class="py-op">=</tt><tt class="py-string">'All Files (*.*)|*.*'</tt><tt class="py-op">,</tt> </tt>
<a name="L775"></a><tt class="py-lineno">775</tt>  <tt class="py-line">               <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OPEN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MULTIPLE</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="fileDialog-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="fileDialog-expanded"><a name="L776"></a><tt class="py-lineno">776</tt>  <tt class="py-line">    <tt class="py-docstring">"""File dialog wrapper function."""</tt> </tt>
<a name="L777"></a><tt class="py-lineno">777</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">FileDialog</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-364" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-364', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt id="link-365" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-365', 'directory', 'link-103');">directory</a></tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">,</tt> </tt>
<a name="L778"></a><tt class="py-lineno">778</tt>  <tt class="py-line">                           <tt class="py-name">wildcard</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L779"></a><tt class="py-lineno">779</tt>  <tt class="py-line">    <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-366" class="py-name" targets="Class Priithon.py.editor.DialogResults=Priithon.py.editor.DialogResults-class.html"><a title="Priithon.py.editor.DialogResults" class="py-name" href="#" onclick="return doclink('link-366', 'DialogResults', 'link-366');">DialogResults</a></tt><tt class="py-op">(</tt><tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L780"></a><tt class="py-lineno">780</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt><tt class="py-op">:</tt> </tt>
<a name="L781"></a><tt class="py-lineno">781</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">paths</tt> <tt class="py-op">=</tt> <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">GetPaths</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L782"></a><tt class="py-lineno">782</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L783"></a><tt class="py-lineno">783</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">paths</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L784"></a><tt class="py-lineno">784</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L785"></a><tt class="py-lineno">785</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
</div><a name="L786"></a><tt class="py-lineno">786</tt>  <tt class="py-line"> </tt>
<a name="L787"></a><tt class="py-lineno">787</tt>  <tt class="py-line"> </tt>
<a name="openSingle"></a><div id="openSingle-def"><a name="L788"></a><tt class="py-lineno">788</tt> <a class="py-toggle" href="#" id="openSingle-toggle" onclick="return toggle('openSingle');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#openSingle">openSingle</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'Open'</tt><tt class="py-op">,</tt> <tt class="py-param">directory</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> </tt>
<a name="L789"></a><tt class="py-lineno">789</tt>  <tt class="py-line">               <tt class="py-param">wildcard</tt><tt class="py-op">=</tt><tt class="py-string">'All Files (*.*)|*.*'</tt><tt class="py-op">,</tt> <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OPEN</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="openSingle-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="openSingle-expanded"><a name="L790"></a><tt class="py-lineno">790</tt>  <tt class="py-line">    <tt class="py-docstring">"""File dialog wrapper function."""</tt> </tt>
<a name="L791"></a><tt class="py-lineno">791</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">FileDialog</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-367" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-367', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt id="link-368" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-368', 'directory', 'link-103');">directory</a></tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">,</tt> </tt>
<a name="L792"></a><tt class="py-lineno">792</tt>  <tt class="py-line">                           <tt class="py-name">wildcard</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L793"></a><tt class="py-lineno">793</tt>  <tt class="py-line">    <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-369" class="py-name"><a title="Priithon.py.editor.DialogResults" class="py-name" href="#" onclick="return doclink('link-369', 'DialogResults', 'link-366');">DialogResults</a></tt><tt class="py-op">(</tt><tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L794"></a><tt class="py-lineno">794</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt><tt class="py-op">:</tt> </tt>
<a name="L795"></a><tt class="py-lineno">795</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">GetPath</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L796"></a><tt class="py-lineno">796</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L797"></a><tt class="py-lineno">797</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L798"></a><tt class="py-lineno">798</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L799"></a><tt class="py-lineno">799</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
</div><a name="L800"></a><tt class="py-lineno">800</tt>  <tt class="py-line"> </tt>
<a name="L801"></a><tt class="py-lineno">801</tt>  <tt class="py-line"> </tt>
<a name="openMultiple"></a><div id="openMultiple-def"><a name="L802"></a><tt class="py-lineno">802</tt> <a class="py-toggle" href="#" id="openMultiple-toggle" onclick="return toggle('openMultiple');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#openMultiple">openMultiple</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'Open'</tt><tt class="py-op">,</tt> <tt class="py-param">directory</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> </tt>
<a name="L803"></a><tt class="py-lineno">803</tt>  <tt class="py-line">                 <tt class="py-param">wildcard</tt><tt class="py-op">=</tt><tt class="py-string">'All Files (*.*)|*.*'</tt><tt class="py-op">,</tt> </tt>
<a name="L804"></a><tt class="py-lineno">804</tt>  <tt class="py-line">                 <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OPEN</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MULTIPLE</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="openMultiple-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="openMultiple-expanded"><a name="L805"></a><tt class="py-lineno">805</tt>  <tt class="py-line">    <tt class="py-docstring">"""File dialog wrapper function."""</tt> </tt>
<a name="L806"></a><tt class="py-lineno">806</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt id="link-370" class="py-name" targets="Function Priithon.py.editor.fileDialog()=Priithon.py.editor-module.html#fileDialog"><a title="Priithon.py.editor.fileDialog" class="py-name" href="#" onclick="return doclink('link-370', 'fileDialog', 'link-370');">fileDialog</a></tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-371" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-371', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt id="link-372" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-372', 'directory', 'link-103');">directory</a></tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">,</tt> <tt class="py-name">wildcard</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
</div><a name="L807"></a><tt class="py-lineno">807</tt>  <tt class="py-line"> </tt>
<a name="L808"></a><tt class="py-lineno">808</tt>  <tt class="py-line"> </tt>
<a name="saveSingle"></a><div id="saveSingle-def"><a name="L809"></a><tt class="py-lineno">809</tt> <a class="py-toggle" href="#" id="saveSingle-toggle" onclick="return toggle('saveSingle');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#saveSingle">saveSingle</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'Save'</tt><tt class="py-op">,</tt> <tt class="py-param">directory</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">filename</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> </tt>
<a name="L810"></a><tt class="py-lineno">810</tt>  <tt class="py-line">               <tt class="py-param">wildcard</tt><tt class="py-op">=</tt><tt class="py-string">'All Files (*.*)|*.*'</tt><tt class="py-op">,</tt> </tt>
<a name="L811"></a><tt class="py-lineno">811</tt>  <tt class="py-line">               <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">SAVE</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">HIDE_READONLY</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">OVERWRITE_PROMPT</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="saveSingle-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="saveSingle-expanded"><a name="L812"></a><tt class="py-lineno">812</tt>  <tt class="py-line">    <tt class="py-docstring">"""File dialog wrapper function."""</tt> </tt>
<a name="L813"></a><tt class="py-lineno">813</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">FileDialog</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt id="link-373" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-373', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt id="link-374" class="py-name"><a title="Priithon.py.editor.directory" class="py-name" href="#" onclick="return doclink('link-374', 'directory', 'link-103');">directory</a></tt><tt class="py-op">,</tt> <tt class="py-name">filename</tt><tt class="py-op">,</tt> </tt>
<a name="L814"></a><tt class="py-lineno">814</tt>  <tt class="py-line">                           <tt class="py-name">wildcard</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">)</tt> </tt>
<a name="L815"></a><tt class="py-lineno">815</tt>  <tt class="py-line">    <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-375" class="py-name"><a title="Priithon.py.editor.DialogResults" class="py-name" href="#" onclick="return doclink('link-375', 'DialogResults', 'link-366');">DialogResults</a></tt><tt class="py-op">(</tt><tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L816"></a><tt class="py-lineno">816</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt><tt class="py-op">:</tt> </tt>
<a name="L817"></a><tt class="py-lineno">817</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">GetPath</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L818"></a><tt class="py-lineno">818</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L819"></a><tt class="py-lineno">819</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L820"></a><tt class="py-lineno">820</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L821"></a><tt class="py-lineno">821</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
</div><a name="L822"></a><tt class="py-lineno">822</tt>  <tt class="py-line"> </tt>
<a name="L823"></a><tt class="py-lineno">823</tt>  <tt class="py-line"> </tt>
<a name="directory"></a><div id="directory-def"><a name="L824"></a><tt class="py-lineno">824</tt> <a class="py-toggle" href="#" id="directory-toggle" onclick="return toggle('directory');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#directory">directory</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">=</tt><tt class="py-string">'Choose a directory'</tt><tt class="py-op">,</tt> <tt class="py-param">path</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt> </tt>
<a name="L825"></a><tt class="py-lineno">825</tt>  <tt class="py-line">              <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">,</tt> <tt class="py-param">size</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultSize</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="directory-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="directory-expanded"><a name="L826"></a><tt class="py-lineno">826</tt>  <tt class="py-line">    <tt class="py-docstring">"""Dir dialog wrapper function."""</tt> </tt>
<a name="L827"></a><tt class="py-lineno">827</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DirDialog</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt class="py-name">message</tt><tt class="py-op">,</tt> <tt class="py-name">path</tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">,</tt> <tt id="link-376" class="py-name"><a title="Priithon.plt.plot_objects.text_object.size
Priithon.plt.plot_utility.box_object.size
Priithon.viewerRubberbandMode.viewerRubberbandMode.size" class="py-name" href="#" onclick="return doclink('link-376', 'size', 'link-16');">size</a></tt><tt class="py-op">)</tt> </tt>
<a name="L828"></a><tt class="py-lineno">828</tt>  <tt class="py-line">    <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-377" class="py-name"><a title="Priithon.py.editor.DialogResults" class="py-name" href="#" onclick="return doclink('link-377', 'DialogResults', 'link-366');">DialogResults</a></tt><tt class="py-op">(</tt><tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L829"></a><tt class="py-lineno">829</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">positive</tt><tt class="py-op">:</tt> </tt>
<a name="L830"></a><tt class="py-lineno">830</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">GetPath</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L831"></a><tt class="py-lineno">831</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L832"></a><tt class="py-lineno">832</tt>  <tt class="py-line">        <tt class="py-name">result</tt><tt class="py-op">.</tt><tt class="py-name">path</tt> <tt class="py-op">=</tt> <tt class="py-name">None</tt> </tt>
<a name="L833"></a><tt class="py-lineno">833</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L834"></a><tt class="py-lineno">834</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
</div><a name="L835"></a><tt class="py-lineno">835</tt>  <tt class="py-line"> </tt>
<a name="L836"></a><tt class="py-lineno">836</tt>  <tt class="py-line"> </tt>
<a name="messageDialog"></a><div id="messageDialog-def"><a name="L837"></a><tt class="py-lineno">837</tt> <a class="py-toggle" href="#" id="messageDialog-toggle" onclick="return toggle('messageDialog');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="Priithon.py.editor-module.html#messageDialog">messageDialog</a><tt class="py-op">(</tt><tt class="py-param">parent</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">message</tt><tt class="py-op">=</tt><tt class="py-string">''</tt><tt class="py-op">,</tt> <tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">'Message box'</tt><tt class="py-op">,</tt> </tt>
<a name="L838"></a><tt class="py-lineno">838</tt>  <tt class="py-line">                  <tt class="py-param">style</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">YES_NO</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CANCEL</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">CENTRE</tt> <tt class="py-op">|</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">ICON_QUESTION</tt><tt class="py-op">,</tt> </tt>
<a name="L839"></a><tt class="py-lineno">839</tt>  <tt class="py-line">                  <tt class="py-param">pos</tt><tt class="py-op">=</tt><tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">DefaultPosition</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="messageDialog-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="messageDialog-expanded"><a name="L840"></a><tt class="py-lineno">840</tt>  <tt class="py-line">    <tt class="py-docstring">"""Message dialog wrapper function."""</tt> </tt>
<a name="L841"></a><tt class="py-lineno">841</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt> <tt class="py-op">=</tt> <tt class="py-name">wx</tt><tt class="py-op">.</tt><tt class="py-name">MessageDialog</tt><tt class="py-op">(</tt><tt class="py-name">parent</tt><tt class="py-op">,</tt> <tt class="py-name">message</tt><tt class="py-op">,</tt> <tt id="link-378" class="py-name"><a title="Priithon.plt.interface.title
Priithon.plt.wxplt.plot_frame.title" class="py-name" href="#" onclick="return doclink('link-378', 'title', 'link-15');">title</a></tt><tt class="py-op">,</tt> <tt class="py-name">style</tt><tt class="py-op">,</tt> <tt class="py-name">pos</tt><tt class="py-op">)</tt> </tt>
<a name="L842"></a><tt class="py-lineno">842</tt>  <tt class="py-line">    <tt class="py-name">result</tt> <tt class="py-op">=</tt> <tt id="link-379" class="py-name"><a title="Priithon.py.editor.DialogResults" class="py-name" href="#" onclick="return doclink('link-379', 'DialogResults', 'link-366');">DialogResults</a></tt><tt class="py-op">(</tt><tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">ShowModal</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L843"></a><tt class="py-lineno">843</tt>  <tt class="py-line">    <tt class="py-name">dialog</tt><tt class="py-op">.</tt><tt class="py-name">Destroy</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L844"></a><tt class="py-lineno">844</tt>  <tt class="py-line">    <tt class="py-keyword">return</tt> <tt class="py-name">result</tt> </tt>
</div><a name="L845"></a><tt class="py-lineno">845</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:48 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
